Skip to content

refactor: 로그인 상태 여부에 따른 클라이언트 변경 #215

refactor: 로그인 상태 여부에 따른 클라이언트 변경

refactor: 로그인 상태 여부에 따른 클라이언트 변경 #215

# 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_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