This is an automated email from the ASF dual-hosted git repository. jin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
commit c946090c8e3845fa2209a97ed1b1858bafcc9921 Author: imbajin <[email protected]> AuthorDate: Wed Sep 14 15:44:26 2022 +0800 Update hugo.yml --- .github/workflows/hugo.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index f2709b71..52af7bec 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -27,7 +27,7 @@ on: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: - contents: read + contents: write # old: read pages: write id-token: write @@ -78,7 +78,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.event_name == 'push' # && github.ref == 'refs/heads/master' with: github_token: ${{ secrets.GITHUB_TOKEN }} # https://gohugo.io/hosting-and-deployment/hosting-on-github/#github-pages-setting
