Skip to content

[create-pull-request] automated change (#267) #121

[create-pull-request] automated change (#267)

[create-pull-request] automated change (#267) #121

Workflow file for this run

name: build
on:
push:
branches:
- master
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
- uses: actions/cache@v4
with:
path: ./node_modules
key: node-${{ hashFiles('yarn.lock') }}
- run: yarn
- run: node .github/scripts/write-date.js
env:
TZ: "Asia/Shanghai"
- run: yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./public
github_token: ${{ secrets.GITHUB_TOKEN }}