Skip to content

Commit

Permalink
Add deploy CI (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini authored Apr 22, 2024
1 parent afc2e84 commit 2770aec
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy

on:
push:
branches: [docs]
pull_request:
branches: [docs]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8.15.3
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- run: pnpm install
- run: pnpm run prepublishOnly
- run: pnpm run docs:build
- run: pnpm run docs:deploy

0 comments on commit 2770aec

Please sign in to comment.