1
0
This commit is contained in:
2024-04-25 21:21:33 +09:00
parent 7aece5937c
commit 1e55c44dd2
30 changed files with 517 additions and 0 deletions

33
.github/workflows/gh-pages.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: github pages
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
ref: main
submodules: true
fetch-depth: 0
- run: yarn install
- name: Build
env:
TZ: "Asia/Tokyo"
run: |
yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
user_name: 'ai[bot]'
user_email: '138105980+yui-syui-ai[bot]@users.noreply.github.com'