Skip to content

Commit

Permalink
fix: correção erro de permissão deploy GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriqueAJNB committed Jun 25, 2024
1 parent e96d46a commit 6364284
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on: [push]

jobs:
build-and-deploy:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Setup GitHub Actions
Expand All @@ -25,4 +27,4 @@ jobs:
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/_build/html
publish_dir: ./book/_build/html

0 comments on commit 6364284

Please sign in to comment.