From 8b59faa827cc46e50535002724d205769df4109e Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 29 Apr 2018 17:32:50 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fcf08bff..313856ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,21 @@ image: node:alpine + before_script: - apk update && apk add openssl - wget https://github.com/gohugoio/hugo/releases/download/v0.40.1/hugo_0.40.1_Linux-64bit.tar.gz - tar xf hugo_0.40.1_Linux-64bit.tar.gz && cp ./hugo /usr/bin + - npm install --quiet firebase-tools -g + deploy: stage: deploy script: - - npm install --quiet firebase-tools -g - rm -rf public - hugo - firebase deploy --token $FIREBASE_TOKEN + deploy-test: script: - - npm install --quiet firebase-tools -g - rm -rf public - hugo - - firebase list --token $FIREBASE_TOKEN \ No newline at end of file + - firebase list --token $FIREBASE_TOKEN + when: manual \ No newline at end of file