We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a459fad commit 00cf62fCopy full SHA for 00cf62f
.github/workflows/pr-firebase-deploy.yml
@@ -0,0 +1,30 @@
1
+name: Deploy MainWeb to Firebase Hosting (Preview)
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - main
6
+
7
+permissions:
8
+ contents: read
9
+ pull-requests: write
10
+ checks: write
11
12
+jobs:
13
+ build_and_preview:
14
+ runs-on: ubuntu-latest
15
+ defaults:
16
+ run:
17
+ working-directory: sites/mainweb
18
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - run: pnpm install
22
+ - run: |
23
+ pnpm build
24
+ pnpm export
25
+ - uses: FirebaseExtended/action-hosting-deploy@v0
26
+ with:
27
+ repoToken: ${{ secrets.GITHUB_TOKEN }}
28
+ firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DSGT }}
29
+ projectId: dsgt-website
30
+ channelId: pr-${{ github.event.pull_request.number }}
0 commit comments