Skip to content

Commit

Permalink
+ proj: add github workflow file to deploy dev docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Dec 29, 2023
1 parent db43f94 commit e598357
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy-dev-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy
on:
push:
branches:
- dev
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 16
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Build
run: BASE_PATH=/zui/dev/ pnpm docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_/.vitepress/dist
destination_dir: dev

0 comments on commit e598357

Please sign in to comment.