diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38ad0feb..8576f1f6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,7 +47,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 @@ -62,4 +62,4 @@ netlify: - netlify deploy --dir=public --prod rules: - - if: '$NETLIFY == "true"' + - if: $NETLIFY_SITE_ID