Skip to content

Merge pull request #86 from GuoXiCheng/dev-c #84

Merge pull request #86 from GuoXiCheng/dev-c

Merge pull request #86 from GuoXiCheng/dev-c #84

Workflow file for this run

name: Deploy VuePress site
on:
push:
branches:
- master
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Node
uses: actions/setup-node@master
with:
node-version: '18.x'
- name: Install and Build
run: |
npm install
npm run docs:build
- name: Copy to deploy
run: |
cp src/CNAME src/.vuepress/dist/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: src/.vuepress/dist