From 29c2f8a8c5c9555a742fcfa40be60ca266b2f682 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Mon, 14 Mar 2022 21:03:11 +0000 Subject: [PATCH] ci: add artifact dependency - reuse artifact in netlify job --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1f0cf8d..23503ac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,9 @@ build_job: pages: stage: deploy + dependencies: + - build_job + script: - echo @@ -52,13 +55,14 @@ 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 cache: