Skip to content

๐Ÿ’„ ์šฐ์ธก ์‚ฌ์ด๋“œ ํฐํŠธ์ปฌ๋Ÿฌ ๋ณ€๊ฒฝ #5

๐Ÿ’„ ์šฐ์ธก ์‚ฌ์ด๋“œ ํฐํŠธ์ปฌ๋Ÿฌ ๋ณ€๊ฒฝ

๐Ÿ’„ ์šฐ์ธก ์‚ฌ์ด๋“œ ํฐํŠธ์ปฌ๋Ÿฌ ๋ณ€๊ฒฝ #5

# 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
steps:
- uses: actions/checkout@v3
- run: npm install
- run:
echo "VITE_REACT_APP_API_KEY=${{secrets.VITE_REACT_APP_API_KEY}}" >> .env

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

View workflow run for this annotation

GitHub Actions / .github/workflows/firebase-hosting-merge.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
echo "VITE_REACT_APP_AUTH_DOMAIN=${{secrets.VITE_REACT_APP_AUTH_DOMAIN}}" >> .env
echo "VITE_REACT_APP_PROJECT_ID=${{secrets.VITE_REACT_APP_PROJECT_ID}}" >> .env
echo "VITE_REACT_APP_STORAGE_BUCKET=${{secrets.VITE_REACT_APP_STORAGE_BUCKET}}" >> .env
echo "VITE_REACT_APP_MESSAGING_SENDER_ID=${{secrets.VITE_REACT_APP_MESSAGING_SENDER_ID}}" >> .env
echo "VITE_REACT_APP_APP_ID=${{secrets.VITE_REACT_APP_APP_ID}}" >> .env
- run: cat .env
- run: npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_NWITTER_RELOADED_75095 }}"
channelId: live
projectId: nwitter-reloaded-75095