mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
Fix permission block for deploy-website.yml (#1397)
Based on the instruction here: https://github.com/peaceiris/actions-gh-pages?tab=readme-ov-file#%EF%B8%8F-first-deployment-with-github_token Write permission is needed to publish GitHub page content to the gh-pages branch.
This commit is contained in:
6
.github/workflows/deploy-website.yml
vendored
6
.github/workflows/deploy-website.yml
vendored
@@ -17,11 +17,7 @@ on:
|
||||
merge_group:
|
||||
types: [checks_requested]
|
||||
permissions:
|
||||
pages: write
|
||||
# actions: read
|
||||
# checks: read
|
||||
# contents: read
|
||||
# deployments: read
|
||||
contents: write
|
||||
jobs:
|
||||
checks:
|
||||
if: github.event_name != 'push'
|
||||
|
||||
Reference in New Issue
Block a user