Compare commits
1 Commits
a67a2247c3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e7ad846538 |
+11
-5
@@ -3,8 +3,8 @@ type: docker
|
||||
name: default
|
||||
|
||||
trigger:
|
||||
branch: [ main ]
|
||||
event: [ push ]
|
||||
branch: [main]
|
||||
event: [push]
|
||||
|
||||
# Kill the default clone entirely
|
||||
clone:
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user