From 2299b217b6235acf531bad9cb8e80fb276ff8019 Mon Sep 17 00:00:00 2001 From: Lixu <37231473+wflixu@users.noreply.github.com> Date: Sun, 12 Feb 2023 23:27:18 +0800 Subject: [PATCH] docs: update github page actions setting in deploy.md (#1930) --- docs/guide/deploying.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/guide/deploying.md b/docs/guide/deploying.md index bf26ffd6..8e5a76ea 100644 --- a/docs/guide/deploying.md +++ b/docs/guide/deploying.md @@ -81,6 +81,9 @@ Don't enable options like _Auto Minify_ for HTML code. It will remove comments f jobs: deploy: runs-on: ubuntu-latest + permissions: + pages: write + id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}