Compare commits

...

1 Commits

Author SHA1 Message Date
martin.fencl e7ad846538 fix: hook
continuous-integration/drone/push Build is passing
2026-06-16 11:02:29 +02:00
+9 -3
View File
@@ -14,7 +14,7 @@ steps:
- name: manual clone
image: alpine/git
environment:
GIT_ASKPASS: 'echo' # prevent interactive prompts
GIT_ASKPASS: "echo" # prevent interactive prompts
commands:
- git clone --depth=50 "https://fencl:5ece5d37cd3a9988a78983b10cede284e25717f8@git.internet-master.cz/fencl/davisfe.cz.git" .
# - git fetch origin +refs/heads/deployment:refs/remotes/origin/deployment
@@ -36,6 +36,12 @@ steps:
- name: call-portainer-webhook
image: curlimages/curl
environment:
PORTAINER_USER:
from_secret: PORTAINER_USER
PORTAINER_PASSWORD:
from_secret: PORTAINER_PASSWORD
PORTAINER_WEBHOOK:
from_secret: PORTAINER_WEBHOOK
commands:
- curl -u 'howard:Papadopolus0' -X POST 'https://portainer.martinfencl.eu/api/stacks/webhooks/72df3f63-b271-4aef-9325-772a2ccbaeca'
- curl -fsS -u "$PORTAINER_USER:$PORTAINER_PASSWORD" -X POST "$PORTAINER_WEBHOOK"