mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-14 13:04:26 -04:00
Update .gitlab-ci.yml
This commit is contained in:
@@ -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
|
||||
when: manual
|
Reference in New Issue
Block a user