ci: add artifact dependency
- reuse artifact in netlify job
This commit is contained in:
parent
f54586a5bb
commit
66ff1f7f3b
|
@ -51,5 +51,4 @@ jobs:
|
|||
npm install
|
||||
npm install netlify-cli -g
|
||||
netlify --telemetry-disable
|
||||
npm run build
|
||||
netlify deploy --dir=public --prod
|
||||
|
|
|
@ -32,6 +32,9 @@ build_job:
|
|||
pages:
|
||||
stage: deploy
|
||||
|
||||
dependencies:
|
||||
- build_job
|
||||
|
||||
script:
|
||||
- echo
|
||||
|
||||
|
@ -54,13 +57,15 @@ 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
|
||||
|
||||
rules:
|
||||
|
|
Loading…
Reference in New Issue