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