From e5caf7bdecb0476b96dd8aa6253b3287f1021c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=9D=E5=BC=B9?= <810335188@qq.com> Date: Sat, 16 Sep 2023 16:42:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2d4c80c..30c5fbb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,12 +6,16 @@ on: - master jobs: - deploy: + build: runs-on: ubuntu-latest permissions: pages: write id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} steps: - name: 克隆代码 @@ -32,4 +36,5 @@ jobs: path: ./dist - name: 部署分支 + id: deployment uses: actions/deploy-pages@v2