Skip to content

Merge pull request #328 from SCBJ-7/feat/#327-env #192

Merge pull request #328 from SCBJ-7/feat/#327-env

Merge pull request #328 from SCBJ-7/feat/#327-env #192

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
"on":
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
env:
VITE_BASE_URL: "${{secrets.VITE_BASE_URL}}"
VITE_APIKEY: "${{secrets.VITE_APIKEY}}"
VITE_AUTH_DOMAIN: "${{secrets.VITE_AUTH_DOMAIN}}"
VITE_PROJECT_ID: "${{secrets.VITE_PROJECT_ID}}"
VITE_STORAGE_BUCKET: "${{secrets.VITE_STORAGE_BUCKET}}"
VITE_MESSAGING_SENDERID: "${{secrets.VITE_MESSAGING_SENDERID}}"
VITE_APPID: "${{secrets.VITE_APPID}}"
VITE_MEASUREMENT_ID: "${{secrets.VITE_MEASUREMENT_ID}}"
VITE_FIREBASE_VAPID: "${{secrets.VITE_FIREBASE_VAPID}}"
steps:
- uses: actions/checkout@v3
- run: npm install && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PERCENTHOTEL }}"
channelId: live
projectId: percenthotel
secrets: inherit

Check failure on line 31 in .github/workflows/firebase-hosting-merge.yml

View workflow run for this annotation

GitHub Actions / Deploy to Firebase Hosting on merge

Invalid workflow file

The workflow is not valid. .github/workflows/firebase-hosting-merge.yml (Line: 31, Col: 9): Unexpected value 'secrets'