fix missing variable #236
This file contains 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: github pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Use Node.js 18 | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- name: install | |
run: npm install --legacy-peer-deps -f | |
- name: build | |
run: npm run build | |
- name: build - 404.html | |
run: cp dist/index.html dist/404.html | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist | |
cname: 'master.vtbs.moe' | |
force_orphan: true | |
user_name: 'nanashi' | |
user_email: '[email protected]' |