File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Deploy
3
+ on :
4
+ push :
5
+ branches : main
6
+ jobs :
7
+ deploy :
8
+ runs-on : ubuntu-22.04
9
+ container : node:20-alpine
10
+ steps :
11
+ - name : Check out repository code
12
+ uses : actions/checkout@v4
13
+ - name : Install dependencies
14
+ run : npm i
15
+ - name : Build the site
16
+ run : npm run build
17
+ - name : Deploy to Firebase Hosting
18
+ uses : FirebaseExtended/action-hosting-deploy@v0
19
+ with :
20
+ firebaseServiceAccount : " ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}"
21
+ projectId : personal-419019
22
+ channelId : live
Original file line number Diff line number Diff line change
1
+ {
2
+ "hosting" : {
3
+ "site" : " calculator-me6msjmd" ,
4
+ "public" : " dist" ,
5
+ "headers" : [
6
+ {
7
+ "source" : " **" ,
8
+ "headers" : [
9
+ {
10
+ "key" : " Content-Security-Policy" ,
11
+ "value" : " default-src 'self';"
12
+ }
13
+ ]
14
+ }
15
+ ]
16
+ }
17
+ }
You can’t perform that action at this time.
0 commit comments