Skip to content

Deploy to Firebase Hosting on merge #7

Deploy to Firebase Hosting on merge

Deploy to Firebase Hosting on merge #7

# 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@v4
- name: Install dependencies
run: npm ci
working-directory: ./aiden_frontend
- name: Build
run: npm run build
working-directory: ./aiden_frontend
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_AIDEN_SHIV }}'
projectId: aiden-shiv
env:
# Ensure the Firebase CLI uses the correct project directory
FIREBASE_CLI_PREVIEWS: hostingchannels
working-directory: ./aiden_frontend

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

GitHub Actions / Deploy to Firebase Hosting on merge

Invalid workflow file

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