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