1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 13:36:24 -04:00
jarv.is/.gitlab-ci.yml
2018-04-29 14:20:19 +00:00

13 lines
504 B
YAML

image: mhart/alpine-node:6.3
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
- echo "004af6326a331f7e0e2ae2145a4263e36c9a15cb9dcf1d0d9dac4bbdf6d678d5 hugo_0.40.1_Linux-64bit.tar.gz" | md5sum -c
- tar xf hugo_0.40.1_Linux-64bit.tar.gz && cp ./hugo /usr/bin
deploy:
stage: deploy
script:
- npm install -g firebase-tools
- rm -rf public
- hugo
- firebase deploy --token $FIREBASE_DEPLOY_KEY