Skip to content

https://github.com/chatopera/store-docs/issues/1 fix build error for … #7

https://github.com/chatopera/store-docs/issues/1 fix build error for …

https://github.com/chatopera/store-docs/issues/1 fix build error for … #7

Workflow file for this run

name: pages
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build && mkdir -p build/.github/workflows && cp .github/workflows/gitee.yml build/.github/workflows && ls ./build/.github/workflows
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GHP_ACCESS_TOKEN }}
exclude_assets: ''
publish_dir: ./build