Skip to content

Create audio player #13

Create audio player

Create audio player #13

name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Install pnpm
- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
if: success() # Only run if the previous step was successful
# Install dependencies
- name: Install dependencies
run: pnpm install
if: success() # Only run if the previous step was successful
# Run the build command using pnpm
- name: Build
run: pnpm run build
working-directory: ./ # Specify the path to your app if necessary
if: success() # Only run if the previous step was successful
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ENGREESI }}'
channelId: live
projectId: engreesi