Skip to content

Update GitHub Actions workflow and configuration #6

Update GitHub Actions workflow and configuration

Update GitHub Actions workflow and configuration #6

Workflow file for this run

name: Deploy VuePress site to GitHub Pages
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
- run: npm run build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/.vuepress/dist