Skip to content

nohitme/docker-hugo-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

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}

About

A docker image with hugo and firebase-cli installed

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published