Compare commits
3 Commits
dev
...
b5fcdd2d38
| Author | SHA1 | Date | |
|---|---|---|---|
| b5fcdd2d38 | |||
| 3ff9fda739 | |||
| 54e17257d0 |
14
drone.yaml
14
drone.yaml
@@ -1,7 +1,14 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
clone:
|
||||
git:
|
||||
|
||||
url: https://gitea.ronis0505.tech/ronis_0505/telegram-bot-for-manipulate-orders.git
|
||||
user:
|
||||
from_secret: GITEA_USER
|
||||
password:
|
||||
from_secret: GITEA_TOKEN
|
||||
steps:
|
||||
- name: install-dependencies
|
||||
image: python:3.12
|
||||
@@ -18,8 +25,13 @@ steps:
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/ssh
|
||||
environment:
|
||||
ENV_CONTENT:
|
||||
from_secret: DOT_ENV_CONTENT
|
||||
commands:
|
||||
- echo "$ENV_CONTENT" > .env
|
||||
settings:
|
||||
host: your.server.ip
|
||||
host: https://gitea.ronis-0505.ru/ronis_0505/telegram-bot-for-manipulate-orders.git
|
||||
username: ronis_0505
|
||||
password: 667766
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user