Public | Automated Build

Last pushed: 4 months ago
Short Description
A node:alpine (latest) base image with hugo binary and firebase-cli installed
Full Description

docker-hugo-firebase

A docker image with hugo and firebase-cli installed

Using on Gitlab CI

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}
Docker Pull Command
Owner
nohitme
Source Repository