Skip to content

Commit

Permalink
Update publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryolitia authored Mar 19, 2024
1 parent d7e25ba commit d80c4ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
version: latest
- uses: actions/setup-node@v4
with:
cache: pnpm
cache: npm
- name: Install
run: pnpm install
run: npm ci
- name: Build
run: |
sed -e "s/BUILD_TIME/$(TZ=Asia/Shanghai date -Isecond)/" -e "s/COMMIT_SHA/${{ github.sha }}/" -i src/about.md
pnpm build
npm docs:build
env:
NODE_OPTIONS: --max_old_space_size=4096
- name: Publish to Cloudflare Pages
Expand Down

0 comments on commit d80c4ef

Please sign in to comment.