Skip to content

fatyogi/github-action-hugo2firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action - Hugo and Firebase

Based on https://github.com/pulimento/github-action-hugo-deploy-to-firebase

This GitHub action build a Hugo site, and uploads it to Firebase Hosting. It needs a Firebase token, which you can obtain it installing firebase-tools and running firebase login-ci command.

Store the Firebase token as FIREBASE_TOKEN under GitHub secrets

A simple workload using this action would be something like:

hugo2firebase.yml

on: [push]
name: Publish the changes
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        submodules: true
    - uses: fatyogi/github-action-hugo2firebase@main
      with:
        firebase-token: ${{ secrets.FIREBASE_TOKEN }}

About

GitHub Action to deploy a Gohugo.io site to Firebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published