From a6cb3c6d5f8e67a1ef121e9c6337961443054e79 Mon Sep 17 00:00:00 2001 From: Shadow Date: Fri, 19 Apr 2024 14:33:01 -0500 Subject: [PATCH] fix docs --- .github/workflows/docs.yml | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9cee2142..909957b1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,25 +19,11 @@ jobs: - name: Build website run: pnpm run web:build - - name: Upload Build Artifact - uses: actions/upload-pages-artifact@v3 - with: - path: apps/website/build - - deploy: - name: Deploy to GitHub Pages - needs: build - - permissions: - pages: write - id-token: write - - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - runs-on: ubuntu-latest - steps: - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + # Build output to publish to the `gh-pages` branch: + publish_dir: ./apps/website/build + user_name: buapebot + user_email: 119761697+buapebot@users.noreply.github.com