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