Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 7 additions & 18 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ on:
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write
contents: write

concurrency:
group: pages
Expand All @@ -17,9 +15,6 @@ concurrency:
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -41,16 +36,10 @@ jobs:
- name: Build client
run: pnpm build:client

- name: Configure Pages
uses: actions/configure-pages@v5
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
enablement: true

- name: Upload Packages Client
uses: actions/upload-pages-artifact@v3
with:
path: packages/client/dist

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: packages/client/dist
publish_branch: gh-pages
force_orphan: true
Loading