Skip to content

Commit cbb1d19

Browse files
feat: add environment variables for Giscus configuration in Firebase hosting workflow
1 parent 8eaacdf commit cbb1d19

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/firebase-hosting-merge.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ jobs:
1919
run: yarn install --frozen-lockfile
2020
- name: Build
2121
run: yarn build
22+
env:
23+
EXPORT: 1
24+
UNOPTIMIZED: 1
25+
BASE_PATH: /blog
26+
NEXT_PUBLIC_GISCUS_REPO: ${{ vars.NEXT_PUBLIC_GISCUS_REPO }}
27+
NEXT_PUBLIC_GISCUS_REPOSITORY_ID: ${{ vars.NEXT_PUBLIC_GISCUS_REPOSITORY_ID }}
28+
NEXT_PUBLIC_GISCUS_CATEGORY: ${{ vars.NEXT_PUBLIC_GISCUS_CATEGORY }}
29+
NEXT_PUBLIC_GISCUS_CATEGORY_ID: ${{ vars.NEXT_PUBLIC_GISCUS_CATEGORY_ID }}
2230
- uses: FirebaseExtended/action-hosting-deploy@v0
2331
with:
2432
repoToken: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)