diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0e68edc..2f42e1a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,17 +30,15 @@ jobs: cache: "pnpm" - run: pnpm install --frozen-lockfile - name: Setup Pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@v3 - name: Build with VitePress run: | pnpm run docs:build touch docs/.vitepress/dist/.nojekyll - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-pages-artifact@v2 with: path: docs/.vitepress/dist - name: github-pages - if-no-files-found: error deploy: environment: @@ -52,4 +50,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v2 \ No newline at end of file