Skip to content

Commit

Permalink
Add workflow to deploy on release
Browse files Browse the repository at this point in the history
  • Loading branch information
janjitsu committed Dec 6, 2022
1 parent 1d5e8c5 commit 0304e9d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/firebase-hosting-deploy-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Deploy to Firebase Hosting on New Release
on:
push:
branches:
- 'releases/**'
jobs:
build_and_preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_MOVIELAND_D92B1 }}'
projectId: movieland-d92b1

0 comments on commit 0304e9d

Please sign in to comment.