From 43d07dc49c2793f6f52e23f3221e724de12721f5 Mon Sep 17 00:00:00 2001 From: Gianmarco Pettinato Date: Mon, 18 Oct 2021 11:17:06 +0200 Subject: [PATCH] updated pipeline --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c75ca46..9da8de4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,8 +15,14 @@ build-job: # This job runs in the build stage, which runs first. script: - npm install - npm run build + artifacts: + expire_in: 1 week + paths: + - ./build deploy-job: # This job runs in the deploy stage. + dependencies: + - build-job stage: deploy # It only runs when *both* jobs in the test stage complete successfully. script: - apt-get update -qq && apt-get install -y -qq lftp