fix: fix url for stage server #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Documentation | |
on: | |
push: | |
branches: [main] | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
deploy: | |
permissions: | |
pages: write | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: skkuding/codedang/.github/actions/setup-pnpm@main | |
- name: Build documentation | |
run: pnpm build | |
- name: Upload Pages Artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: .vitepress/dist | |
- name: Deploy to GitHub Pages | |
uses: actions/deploy-pages@v4 |