Update .drone.yml
This commit is contained in:
parent
48e95a534a
commit
3ec3b3cd99
@ -25,6 +25,9 @@ steps:
|
|||||||
repo:
|
repo:
|
||||||
from_secret: repo_webservice
|
from_secret: repo_webservice
|
||||||
dockerfile: webservice/Dockerfile
|
dockerfile: webservice/Dockerfile
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
- name: publish_bot
|
- name: publish_bot
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@ -38,6 +41,9 @@ steps:
|
|||||||
repo:
|
repo:
|
||||||
from_secret: repo_bot
|
from_secret: repo_bot
|
||||||
dockerfile: telegram_bot/Dockerfile
|
dockerfile: telegram_bot/Dockerfile
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
@ -58,3 +64,6 @@ steps:
|
|||||||
PLUGIN_PASSWORD:
|
PLUGIN_PASSWORD:
|
||||||
from_secret: ssh_password
|
from_secret: ssh_password
|
||||||
PLUGIN_SCRIPT: /opt/docker/TelegramAktienBot/deploy.sh
|
PLUGIN_SCRIPT: /opt/docker/TelegramAktienBot/deploy.sh
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
Loading…
Reference in New Issue
Block a user