ci: automatically redeploy container
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
3c958c4a13
commit
a80b633d57
13
.drone.yml
13
.drone.yml
|
@ -32,9 +32,20 @@ steps:
|
|||
branch:
|
||||
exclude:
|
||||
- main
|
||||
|
||||
- name: redeploy on portainer
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls: [ "https://portainer.kucharczyk.xyz/api/webhooks/${ID} "]
|
||||
depends_on:
|
||||
- "build container (non-prod)"
|
||||
environment:
|
||||
ID:
|
||||
from_secret: PORTAINER_TIMETRACKER_WEBHOOK_ID
|
||||
|
||||
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- cron
|
||||
- cron
|
||||
|
|
Loading…
Reference in New Issue