forked from vieter-v/vieter
ci: corrected docs deploy step & re-enabled deploy workflow
parent
e5d50f3a59
commit
1f1aa381e1
|
@ -0,0 +1,16 @@
|
|||
branches: 'dev'
|
||||
platform: 'linux/amd64'
|
||||
depends_on:
|
||||
- 'docker'
|
||||
|
||||
skip_clone: true
|
||||
|
||||
pipeline:
|
||||
webhooks:
|
||||
image: 'curlimages/curl'
|
||||
secrets:
|
||||
- 'webhook_app'
|
||||
- 'webhook_cron'
|
||||
commands:
|
||||
- 'curl -XPOST -s --fail $WEBHOOK_APP'
|
||||
- 'curl -XPOST -s --fail $WEBHOOK_CRON'
|
|
@ -25,7 +25,7 @@ pipeline:
|
|||
secrets:
|
||||
- 'site_api_key'
|
||||
commands:
|
||||
- 'curl -XPOST --fail -s -H "Authorization: Bearer $SITE_API_KEY" -T docs.tar.gz https://rustybever.be/api/deploy?dir=vieter-docs'
|
||||
- 'curl -XPOST --fail -s -H "Authorization: Bearer $SITE_API_KEY" -T docs.tar.gz https://rustybever.be/api/deploy?dir=docs-vieter'
|
||||
when:
|
||||
event: push
|
||||
branch: dev
|
||||
|
@ -36,7 +36,7 @@ pipeline:
|
|||
secrets:
|
||||
- 'site_api_key'
|
||||
commands:
|
||||
- 'curl -XPOST --fail -s -H "Authorization: Bearer $SITE_API_KEY" -T api-docs.tar.gz https://rustybever.be/api/deploy?dir=vieter-api-docs'
|
||||
- 'curl -XPOST --fail -s -H "Authorization: Bearer $SITE_API_KEY" -T api-docs.tar.gz https://rustybever.be/api/deploy?dir=api-docs-vieter'
|
||||
when:
|
||||
event: push
|
||||
branch: dev
|
||||
|
|
Loading…
Reference in New Issue