deploy-prod.yml 524 B

123456789101112131415161718192021
  1. name: Deploy to Live Channel
  2. on:
  3. push:
  4. branches:
  5. - main
  6. jobs:
  7. deploy_live_website:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Checkout Repository
  11. uses: actions/checkout@v3
  12. - name: Deploy to Firebase (production)
  13. uses: FirebaseExtended/action-hosting-deploy@v0
  14. with:
  15. repoToken: '${{ secrets.GITHUB_TOKEN }}'
  16. firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_POSTWOMAN_API }}'
  17. channelId: live
  18. projectId: postwoman-api