Skip to content

Commit

Permalink
Add push permission
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Carreras <[email protected]>
  • Loading branch information
leonardocarreras committed Feb 6, 2025
1 parent 50e4e3f commit fbf8daf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- master

pull_request:
types: [opened, synchronize, reopened]

Expand Down Expand Up @@ -51,6 +51,7 @@ jobs:
permissions:
pages: write
id-token: write
contents: write

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -94,4 +95,6 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
# keep_files: true
publish_branch: gh-pages
publish_branch: gh-pages
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'

0 comments on commit fbf8daf

Please sign in to comment.