From 5d5013c3a556e53f4ad4a3cfe8feb881ca4ad865 Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Wed, 30 Oct 2024 00:10:53 +0100 Subject: [PATCH] update versions --- .github/workflows/deploy.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c1aa579..9df4b33 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,13 +29,20 @@ jobs: uses: actions/configure-pages@v3 - name: Upload Artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: - path: "/.vitepress/dist" + path: "./.vitepress/dist/" + deploy: + + # Grant GITHUB_TOKEN the permissions required to make a Pages deployment + permissions: + pages: write # to deploy to Pages + id-token: write # to verify the deployment originates from an appropriate source + needs: build runs-on: ubuntu-latest steps: - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 \ No newline at end of file