From 4a1056ed26e46af9638f6f54f7e2903063414b8b Mon Sep 17 00:00:00 2001 From: hywax Date: Sun, 28 Jan 2024 13:55:43 +0500 Subject: [PATCH] ci: update deploy documentation site --- .github/workflows/docs.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index eab7697..947eb06 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -37,17 +37,21 @@ jobs: yarn docs:build touch docs/.vitepress/dist/.nojekyll - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: + name: github-pages path: docs/.vitepress/dist deploy: + name: Deploy + needs: build + permissions: + pages: write + id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - needs: build runs-on: ubuntu-latest - name: Deploy steps: - name: Deploy to GitHub Pages id: deployment