Skip to content

[create-pull-request] automated change (#227) #109

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

[create-pull-request] automated change (#227) #109

Workflow file for this run

name: build
on:
push:
branches:
- master
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: "16"
- uses: actions/cache@v2
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 }}