Skip to content

add: pr preview

add: pr preview #26

Workflow file for this run

name: CI
on: [push]
jobs:
FrontDeploy:
name: FrontDeploy
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@main
- name: setup Node
uses: actions/setup-node@v1
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- name: Install Firebase CLI
run: npm install -g firebase-tools
- name: Install Dependencies
run: yarn
- name: Build
run: yarn build
- name: deploy to Firebase Hosting
shell: bash
run: yarn channel-deploy $(echo ${GITHUB_REF#refs/heads/}) --token=${{ secrets.FIREBASE_TOKEN }}