Skip to content

Commit

Permalink
updating basepath and permissions of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
santilland committed Mar 11, 2024
1 parent a1f9192 commit c2fc85e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
permissions:
contents: write
pages: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -25,7 +26,7 @@ jobs:
if: github.event.action != 'closed'
run: |
npm install
npm run build -- --base /pr-preview/${{ github.event.number }}
npm run build -- --base /pr-preview/pr-${{ github.event.number }}/
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
Expand Down

0 comments on commit c2fc85e

Please sign in to comment.