Skip to content

bug: fix loading state and registration process #48

bug: fix loading state and registration process

bug: fix loading state and registration process #48

# 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:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
env:
VITE_API_KEY: "${{secrets.VITE_API_KEY}}"
VITE_AUTH_DOMAIN: "${{secrets.VITE_AUTH_DOMAIN}}"
VITE_PROJECT_ID: "${{secrets.VITE_PROJECT_ID}}"
VITE_STORAGE_BUCKET: "${{secrets.VITE_STORAGE_BUCKET}}"
VITE_MESSAGING_SENDER_ID: "${{secrets.VITE_MESSAGING_SENDER_ID}}"
VITE_APP_ID: "${{secrets.VITE_APP_ID}}"
VITE_MEASURMENT_ID: "${{secrets.VITE_MEASURMENT_ID}}"
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_WALL_CHAT_69C60 }}"
channelId: live
projectId: wall-chat-69c60