Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

name: Deploy to Firebase Hosting on merge

permissions:
deployments: write
statuses: write
checks: write

on:
push:
branches:
Expand All @@ -13,17 +18,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: true

- name: Setup Node
# yamllint disable-line rule:line-length
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '24.18.0'

- name: Update and Build
- name: Build
run: |
git submodule update --init
cd website
npm install
npm ci
npm run build

- name: Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
# yamllint disable-line rule:line-length
uses: FirebaseExtended/action-hosting-deploy@500ac625ca2dd40cbd15f7659af953801858032a # v0.11.0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GOLIOTH }}'
Expand Down
24 changes: 19 additions & 5 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

name: Deploy to Firebase Hosting on PR

permissions:
deployments: write
statuses: write
checks: write
pull-requests: write

on:
pull_request:

Expand All @@ -12,17 +18,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: true

- name: Setup Node
# yamllint disable-line rule:line-length
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '24.18.0'

- name: Update and Build
- name: Build
run: |
git submodule update --init
cd website
npm install
npm ci
npm run build

- name: Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
# yamllint disable-line rule:line-length
uses: FirebaseExtended/action-hosting-deploy@500ac625ca2dd40cbd15f7659af953801858032a # v0.11.0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GOLIOTH }}'
Expand Down