Skip to content

[Snyk] Upgrade: ,

[Snyk] Upgrade: , #197

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Website Deploy (PR)
on:
pull_request:
paths:
- "website/**"
branch:
- main
jobs:
build_and_preview:
runs-on: ubuntu-latest
defaults:
run:
working-directory: website
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_REACT_HASH_SCROLL }}"
projectId: react-hash-scroll
entrypoint: "./website"
env:
FIREBASE_CLI_PREVIEWS: hostingchannels