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

35 lines
670 B
YAML
Raw Normal View History

2023-03-31 19:51:52 +00:00
name: github pages
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
2024-03-22 20:22:41 +00:00
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
2023-03-31 19:51:52 +00:00
with:
2024-03-22 20:22:41 +00:00
node-version: 17
2023-03-31 19:51:52 +00:00
ref: main
submodules: true
fetch-depth: 0
2023-03-31 19:52:34 +00:00
- run: |
yarn install
2023-03-31 19:51:52 +00:00
- 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-03-31 19:52:34 +00:00
user_name: 'ai[bot]'
user_email: '138105980+yui-syui-ai[bot]@users.noreply.github.com'