Skip to content

Commit

Permalink
updated deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bjosttveit committed Dec 23, 2023
1 parent f0e342e commit 8c87491
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 29 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
name: Deploy to Firebase on merge
"on":
push:
branches:
Expand Down Expand Up @@ -31,9 +28,8 @@ jobs:
node-version: 16
- run: cd web && npm ci && npm run build
- name: Deploy hosting
uses: FirebaseExtended/[email protected]
uses: w9jds/firebase-action@master
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_FONDET }}"
channelId: live
projectId: fondet
args: deploy --only hosting
env:
GCP_SA_KEY: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_FONDET }}
20 changes: 0 additions & 20 deletions .github/workflows/firebase-hosting-pull-request.yml

This file was deleted.

0 comments on commit 8c87491

Please sign in to comment.