A docker image with hugo and firebase-cli installed
Here the example of .gitlab-ci.yml
for Hugo 0.31.1
:
image: nohitme/hugo-firebase:0.31.1
before_script:
- hugo version
- firebase --version
hugo_firebase:
stage: deploy
only:
- master
except:
- dev
script:
- rm -rf public
- hugo --config config.production.toml
- firebase deploy --token ${FIREBASE_TOKEN}