ci: introduce staging deployment actions

This commit is contained in:
Liyas Thomas
2022-12-07 12:11:06 +05:30
parent e7e8c397ef
commit 0d33758ba4
6 changed files with 51 additions and 120 deletions

View File

@@ -0,0 +1,20 @@
name: Deploy to Firebase (production)
on:
push:
branches: [main]
jobs:
deploy_live_website:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Deploy to Firebase (production)
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_POSTWOMAN_API }}'
channelId: live
projectId: postwoman-api