ci: corrected docs deploy step & re-enabled deploy workflow

This commit is contained in:
Jef Roosens 2022-05-01 12:11:07 +02:00
parent e5d50f3a59
commit 1f1aa381e1
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
2 changed files with 18 additions and 2 deletions

View file

@ -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