Skip to content

Deploy to PROD

Deploy to PROD #12

Workflow file for this run

name: Deploy to PROD
on:
push:
branches:
- main
paths:
- "src/**"
- "package.json"
workflow_run:
workflows: ["CI"]
types: [completed]
jobs:
deploy_live_website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm install
- run: npm run build
# Add any build steps here. For example:
# - run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PLAYLIST_VIEW_SORTER }}"
projectId: playlist-view-sorter
channelId: live