Skip to content

fix: dynamic resource import #9

fix: dynamic resource import

fix: dynamic resource import #9

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: pnpm
- name: Install
run: pnpm install
- name: Build Theme
run: pnpm run build
- name: Build Demo
run: pnpm run build:demo
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./demo/dist
force_orphan: true