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