Skip to content

Commit

Permalink
ci: use firebase previews
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh authored Sep 11, 2024
1 parent 8b40960 commit 645d0e4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: Pull Request Events

on: pull_request

permissions:
contents: write
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -68,8 +64,10 @@ jobs:
name: 📚 Deploy documentation
runs-on: ubuntu-latest
needs: [lint, test-unit]
if: ${{ github.event.sender.type == 'User' }}
permissions:
id-token: write
pull-requests: write
environment:
name: dev

Expand All @@ -91,8 +89,9 @@ jobs:
identity-provider: ${{ secrets.IDENTITY_PROVIDER }}
service-account-email: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}
project-id: ${{ secrets.PROJECT_ID }}
prerelease: 'yes'
repo-token: ${{ secrets.GITHUB_TOKEN }}
prebuild-command: npm run build --workspace @ugrc/utilities && npm run build
build-command: npm run build:storybook
env:
repo-token: ${{ secrets.GITHUB_TOKEN }}
VITE_QUAD_WORD: ${{ secrets.DISCOVER_QUAD_WORD }}

0 comments on commit 645d0e4

Please sign in to comment.