Skip to content

Commit

Permalink
ci: fix docs token
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-medvedev committed Feb 8, 2025
1 parent 6b9bd1f commit 266fa7c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,15 @@ on:
branches: ['main']
workflow_dispatch:

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

concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -44,3 +41,4 @@ jobs:
with:
folder: _site
branch: pages
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 266fa7c

Please sign in to comment.