Update .drone.yml

This commit is contained in:
Florian Kaiser
2022-03-16 10:49:25 +01:00
committed by GitHub
parent 4cffdece05
commit 7cdc6bc57d

View File

@@ -27,7 +27,8 @@ steps:
dockerfile: webservice/Dockerfile dockerfile: webservice/Dockerfile
when: when:
branch: branch:
- main include:
- main
- name: publish_bot - name: publish_bot
image: plugins/docker image: plugins/docker
@@ -43,7 +44,8 @@ steps:
dockerfile: telegram_bot/Dockerfile dockerfile: telegram_bot/Dockerfile
when: when:
branch: branch:
- main include:
- main
- name: deploy - name: deploy
image: appleboy/drone-ssh image: appleboy/drone-ssh
@@ -66,4 +68,5 @@ steps:
PLUGIN_SCRIPT: /opt/docker/TelegramAktienBot/deploy.sh PLUGIN_SCRIPT: /opt/docker/TelegramAktienBot/deploy.sh
when: when:
branch: branch:
- main include:
- main