Fixed 2024 Army stats #160
Workflow file for this run
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
name: Preview staging website on PR | |
on: | |
pull_request: | |
paths: | |
- 'website/**' | |
- '.firebaserc' | |
- '.prettierrc' | |
- 'firebase.json' | |
permissions: | |
checks: write | |
contents: read | |
pull-requests: write | |
jobs: | |
deploy_hosting_stag: | |
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci && npm run build | |
working-directory: website | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: ${{ secrets.GITHUB_TOKEN }} | |
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_NOTREDA_ME }} | |
projectId: notreda-me |