From 073c962acf128371962fe67115e7260c019ef586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no> Date: Thu, 21 Jan 2021 12:39:24 +0100 Subject: [PATCH] bare deploy for master branch --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4d78b87..387808a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,8 @@ stages: build: image: node:latest stage: build + only: + - master script: - npm install --progress=false - npm run build @@ -16,6 +18,8 @@ build: deploy: image: uibit/awscli:latest stage: deploy + only: + - master script: - rm -rf ~/.aws - mv .aws ~/ -- GitLab