-
-
Notifications
You must be signed in to change notification settings - Fork 97
35 lines (29 loc) · 948 Bytes
/
release-local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Release https://magic-akari.github.io/lrc-maker/
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
- name: Install dependencies
uses: pnpm/action-setup@v2
with:
run_install: |
- args: [--frozen-lockfile, --strict-peer-dependencies]
- run: pnpm run "/check\:/"
- run: pnpm run build
- name: Deploy Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
force_orphan: true