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

34 lines
657 B
YAML
Raw Permalink 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:
2023-06-04 06:47:05 +00:00
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
2023-06-04 06:30:05 +00:00
with:
2023-06-04 06:47:05 +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
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
2023-06-04 06:47:05 +00:00
user_name: 'ai[bot]'
user_email: '138105980+yui-syui-ai[bot]@users.noreply.github.com'