Skip to content

feat: beginner link #24

feat: beginner link

feat: beginner link #24

name: CD Firebase gluon-beta
on:
push:
branches:
- 'develop'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm i -g npm@8.19.4
- run: npm ci
- run: npm run build:all:prod:gluon-beta
- run: npx firebase deploy --only hosting:gluon-beta --project=default --token=${{ secrets.FIREBASE_TOKEN }}
- run: npx firebase deploy --only hosting:gluon --project=default --token=${{ secrets.FIREBASE_TOKEN }}