update deps, 2025-06-16 21:06:53 #364
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy GitHub Page | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| docs-deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Build VuePress site | |
| run: npm install | |
| - name: Build VuePress site | |
| run: npm run docs:build | |
| env: | |
| NODE_OPTIONS: --max_old_space_size=8192 | |
| - name: Deploy to GitHub Pages | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| token: ${{ secrets.ACCESS_TOKEN }} | |
| branch: gh-pages | |
| folder: dist | |
| single-commit: true |