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 (#9377)
  • Loading branch information
chillinPanda committed Oct 6, 2023
1 parent e17784e commit df42d89
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 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 Expand Up @@ -488,6 +491,9 @@ on:
push:
branches: [main]
permissions:
contents: write
jobs:
test-deploy:
if: github.event_name != 'push'
Expand Down

0 comments on commit df42d89

Please sign in to comment.