Skip to content

Commit

Permalink
This workflow requires writing permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kichura authored Mar 2, 2024
1 parent 193d96e commit d28e122
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
permissions:
pages: write
id-token: write
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
Expand All @@ -20,10 +23,12 @@ jobs:
with:
node-version: "18"
check-latest: true
- name: Install and Build
- name: Install and Build using pnpm
run: |
pnpm install
pnpm run build
env:
NITRO_PRESET: github_pages
- name: Deploy PR Preview
uses: rossjrw/pr-preview-action@v1
with:
Expand Down

0 comments on commit d28e122

Please sign in to comment.