Skip to content

Merge pull request #10 from BearToCode/dependabot/npm_and_yarn/word-w… #74

Merge pull request #10 from BearToCode/dependabot/npm_and_yarn/word-w…

Merge pull request #10 from BearToCode/dependabot/npm_and_yarn/word-w… #74

Workflow file for this run

name: gh-pages
on:
push:
branches: ['master']
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v2
with:
version: 6
- name: Install dependencies
run: pnpm i
- name: Build packages
run: pnpm run build
- name: Build demo
run: pnpm run build
working-directory: demo
- name: Deploy pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./demo/build