Skip to content

Commit

Permalink
👷 deploy docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed May 21, 2024
1 parent 9dc54a0 commit db23760
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "18"

- name: Install
run: pnpm ci

- name: Build
run: pnpm build

- name: Build docs
run: cd ./packages/core && pnpm docs

- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./packages/core/docs
single-commit: true

0 comments on commit db23760

Please sign in to comment.