1
0
manga/.github/workflows/gh-pages.yml

35 lines
689 B
YAML
Raw Normal View History

2023-06-04 06:30:05 +00:00
name: github pages
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
2024-03-31 09:49:04 +00:00
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
2023-06-04 06:30:05 +00:00
with:
2024-03-31 09:49:04 +00:00
node-version: 16
2023-06-04 06:30:05 +00:00
ref: main
submodules: true
fetch-depth: 0
- run: yarn install
- name: Build
env:
TZ: "Asia/Tokyo"
run: |
yarn build
2023-06-04 06:47:05 +00:00
cp -rf CNAME ./dist/
2023-06-04 06:30:05 +00:00
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
2023-06-29 08:11:15 +00:00
user_name: 'ai[bot]'
user_email: '138105980+yui-syui-ai[bot]@users.noreply.github.com'