Skip to content

docs: update README

docs: update README #8

# This workflow's first version was auto-generated by the Firebase CLI.
# Firebase CLI repository: https://github.com/firebase/firebase-tools
# Command: firebase init hosting
name: Firebase Hosting preview deployment
on: pull_request
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
environment:
name: preview
url: ${{ steps.deploy.outputs.details_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: "package.json"
cache: "npm"
- run: npm ci && npx ng version && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
id: deploy
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_HELLO_WORLD_F3218 }}
projectId: hello-world-f3218