Update pipeline.yml
This commit is contained in:
parent
c9785d86ac
commit
5acd9ee60b
@ -46,21 +46,22 @@ pipeline:
|
|||||||
deploy:
|
deploy:
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
secrets:
|
||||||
|
- repo
|
||||||
|
target: REPO
|
||||||
|
- deploy_ip
|
||||||
|
target: IP
|
||||||
|
- deploy_net
|
||||||
|
target: NET
|
||||||
|
- deploy_name
|
||||||
|
target: NAME
|
||||||
|
- ssh_host
|
||||||
|
target: PLUGIN_HOST
|
||||||
|
- ssh_user
|
||||||
|
target: PLUGIN_USERNAME
|
||||||
|
- ssh_password
|
||||||
|
target: PLUGIN_PASSWORD
|
||||||
environment:
|
environment:
|
||||||
REPO:
|
PLUGIN_SCRIPT=/opt/docker/TelegramAktienBot/deploy.sh
|
||||||
from_secret: repo
|
|
||||||
IP:
|
|
||||||
from_secret: deploy_ip
|
|
||||||
NET:
|
|
||||||
from_secret: deploy_net
|
|
||||||
NAME:
|
|
||||||
from_secret: deploy_name
|
|
||||||
PLUGIN_HOST:
|
|
||||||
from_secret: ssh_host
|
|
||||||
PLUGIN_USERNAME:
|
|
||||||
from_secret: ssh_user
|
|
||||||
PLUGIN_PASSWORD:
|
|
||||||
from_secret: ssh_password
|
|
||||||
PLUGIN_SCRIPT: /opt/docker/TelegramAktienBot/deploy.sh
|
|
||||||
|
|
||||||
branches: main
|
branches: main
|
||||||
|
Loading…
Reference in New Issue
Block a user