Deploy Dev #1199
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Dev | |
on: | |
schedule: | |
- cron: '0 9 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Node $ | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'npm' | |
- name: Cache Angular build cache | |
uses: actions/cache@v4 | |
with: | |
path: /home/runner/work/Audio4Live/Audio4Live/.angular/cache | |
key: ${{ runner.os }}-angular | |
- name: Install dependencies (Frontend) | |
run: npm ci | |
- name: Deploy | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
run: npx firebase hosting:channel:deploy dev --token "$FIREBASE_TOKEN" --non-interactive |