Skip to content

Commit

Permalink
fix GH Pages workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
zefir-git committed Aug 4, 2024
1 parent 439c8a0 commit 0fe12fd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,14 @@ on:
release:
types: [published]

permissions:
contents: write
pages: write
id-token: write

jobs:
publish-npm:
name: Publish to npm
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
pages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 0fe12fd

Please sign in to comment.