Skip to content

Commit

Permalink
Update firebase-hosting-merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shiv3679 authored Feb 29, 2024
1 parent d0ec78d commit ed85b64
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Add a step to change the working directory to aiden_frontend
- name: Change working directory
run: cd aiden_frontend
# Specify the working directory for npm commands
- name: Install dependencies
run: npm ci
working-directory: ./aiden_frontend
- name: Build
run: npm run build
working-directory: ./aiden_frontend
- uses: FirebaseExtended/action-hosting-deploy@v0
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_AIDEN_SHIV }}'
channelId: live
projectId: aiden-shiv
# Specify the folder to deploy
publicDirectory: ./aiden_frontend/build
env:
# Ensure the Firebase CLI uses the correct project directory
FIREBASE_CLI_PREVIEWS: hostingchannels
working-directory: ./aiden_frontend


0 comments on commit ed85b64

Please sign in to comment.