Skip to content

Commit

Permalink
fix token permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
timokluser-dev committed Sep 23, 2023
1 parent 79ae8a1 commit 707e26e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 120
container: node:18.18.0-alpine3.18
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.gh-pages.outputs.page_url }}
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -28,6 +34,7 @@ jobs:
name: 'github-pages'
path: 'dist/'
- name: publish to pages
id: gh-pages
uses: actions/deploy-pages@v2
with:
artifact_name: 'github-pages'
Expand Down

0 comments on commit 707e26e

Please sign in to comment.