From e3620381bd11676acdf6d2d9c74c02da36cc8048 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 16 Jul 2022 19:38:12 -0400 Subject: [PATCH] Create firebase.yml --- .github/workflows/firebase.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/firebase.yml diff --git a/.github/workflows/firebase.yml b/.github/workflows/firebase.yml new file mode 100644 index 0000000..2b05535 --- /dev/null +++ b/.github/workflows/firebase.yml @@ -0,0 +1,14 @@ +on: [push] +name: Deploy Hugo to Firebase +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + with: + submodules: true + - uses: ryank90/action-hugo-firebase-deploy@master + with: + firebase-token: ${{ secrets.firebase_token }} + alias: ${{ alias }} // Optional + hugo-params: -D // Optional. Any params for the `hugo` command. [Refer doc here](https://gohugo.io/commands/hugo/)