ci: add dependency to cloudflare & netlify jobs

This commit is contained in:
MDLeom 2022-03-14 05:58:01 +00:00
parent dfba0ce54e
commit 422b9751d5
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 10 additions and 2 deletions

View File

@ -40,6 +40,9 @@ pages:
cloudflare:
stage: deploy
dependencies:
- pages
before_script:
- apk update && apk add curl
@ -52,15 +55,20 @@ cloudflare:
netlify:
stage: deploy
dependencies:
- build_job
before_script:
- npm install
- npm install netlify-cli -g
- netlify --telemetry-disable
script:
- npm run build
- netlify deploy --dir=public --prod
artifacts:
paths:
- public
cache:
paths:
- node_modules/