Skip to content

sponsored by browserstack #242

sponsored by browserstack

sponsored by browserstack #242

Workflow file for this run

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]'