configure drone file
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-09-25 22:01:45 +03:00
parent 20aefeb110
commit e8e2d3dc58

View File

@@ -1,12 +1,15 @@
kind: pipeline
type: docker
name: default
name: first_run
clone:
disable: true
steps:
- name: install-dependencies
image: python:3.12
- name: clone
image: alpine/git
commands:
- pip install -r pyproject.toml
- git clone https://git.ronis-0505.ru/ronis_0505/telegram-bot-for-manipulate-orders.git .
- name: build
image: docker:dind
@@ -17,9 +20,15 @@ steps:
- docker build -t myapp:${DRONE_COMMIT_SHA} .
- name: deploy
image: appleboy/ssh
image: alpine
environment:
ENV_CONTENT:
from_secret: DOT_ENV_CONTENT
commands:
- apk add --no-cache openssh
- echo "$ENV_CONTENT" > .env
settings:
host: your.server.ip
host: localhost
username: ronis_0505
password: 667766
script: