ci: check existence of CI variables

This commit is contained in:
MDLeom 2022-01-25 09:49:51 +00:00
parent 35eb6efd61
commit 91d54f8068
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ cloudflare:
- curl -X POST "https://api.cloudflare.com/client/v4/pages/webhooks/deploy_hooks/$CLOUDFLARE_BUILD_HOOK"
rules:
- if: '$CLOUDFLARE == "true"'
- if: $CLOUDFLARE_BUILD_HOOK
netlify:
stage: deploy
@ -59,4 +59,4 @@ netlify:
- netlify deploy --dir=public --prod
rules:
- if: '$NETLIFY == "true"'
- if: $NETLIFY_SITE_ID