Skip to content

Commit 00cf62f

Browse files
authored
uhhhh
1 parent a459fad commit 00cf62f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)