Skip to content

Latest commit

 

History

373 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-hugo-firebase

Docker Image CI Docker Image Version Docker Image Size Docker Image Pulls

Docker image for deploying hugo sites to Firebase

Usage

Pull docker image from Docker Hub

docker pull sdvcrx/hugo-firebase

Or pull from ghcr.io

docker pull ghcr.io/sdvcrx/hugo-firebase

Example

CLI

Using hugo-firebase image to build hugo site and push to firebase:

docker run -v `pwd`:/app --rm sdvcrx/hugo-firebase bash -c 'hugo  && firebase deploy --token [token]'

Drone CI

- name: build
  image: sdvcrx/hugo-firebase
  pull: always
  environment:
    FIREBASE_TOKEN:
      from_secret: FIREBASE_TOKEN
  commands:
    - hugo --minify
    - firebase deploy --token "$FIREBASE_TOKEN"

Development

This repo is using GitHub Actions to keep hugo version up to date.

About

Docker image for deploying hugo sites to Firebase

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages