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