Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilloftheshadow committed Apr 19, 2024
1 parent fffde60 commit a6cb3c6
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a6cb3c6

Please sign in to comment.