Skip to content

Commit

Permalink
docs(deployment): add permissions config to github action file in v2.…
Browse files Browse the repository at this point in the history
…4.3...

this is already documented in the latest version by commit 35183d7

See also facebook#8877

This is also working for v2.4.3 and needed for using GitHub Pages and Actions with the default setting for the action's automatic GITHUB_TOKEN
  • Loading branch information
chillinPanda committed Oct 6, 2023
1 parent bca3752 commit f14c173
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website/versioned_docs/version-2.4.3/deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,9 @@ on:
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

permissions:
contents: write

jobs:
deploy:
name: Deploy to GitHub Pages
Expand Down

0 comments on commit f14c173

Please sign in to comment.