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 kind: pipeline
type: docker type: docker
name: default name: first_run
clone:
disable: true
steps: steps:
- name: install-dependencies - name: clone
image: python:3.12 image: alpine/git
commands: commands:
- pip install -r pyproject.toml - git clone https://git.ronis-0505.ru/ronis_0505/telegram-bot-for-manipulate-orders.git .
- name: build - name: build
image: docker:dind image: docker:dind
@@ -17,9 +20,15 @@ steps:
- docker build -t myapp:${DRONE_COMMIT_SHA} . - docker build -t myapp:${DRONE_COMMIT_SHA} .
- name: deploy - 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: settings:
host: your.server.ip host: localhost
username: ronis_0505 username: ronis_0505
password: 667766 password: 667766
script: script: