HUB
Sign inSign up

polds/docker-hugo-firebase

By polds

•Updated over 8 years ago

A docker image containing both Hugo (gohugo.io) and the Firebase CLI

Image
0

295

polds/docker-hugo-firebase repository overview

⁠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}
Tag summary
Recent tags
Content type
Image
Digest
Size
48.2 MB
Last updated
over 8 years ago
docker pull polds/docker-hugo-firebase:latest