[Notion] Update docs #52
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
# This file is modified from the auto-generated version from the Firebase CLI | ||
# https://github.com/firebase/firebase-tools | ||
name: PR Deploy Preview to Firebase Hosting | ||
on: pull_request | ||
jobs: | ||
build_and_preview: | ||
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v4 | ||
with: | ||
Check failure on line 14 in .github/workflows/firebase-hosting-pull-request.yml GitHub Actions / PR Deploy Preview to Firebase HostingInvalid workflow file
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.0.0' | ||
cache: 'yarn' | ||
- name: Install and Build 🔧 | ||
run: | | ||
yarn install | ||
yarn build:all | ||
- name: Deploy 🚀 | ||
uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CODEOFMUSIC_16A81 }}' | ||
projectId: codeofmusic-16a81 |