mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 09:40:34 +08:00
CI: prevent unused files being published
This commit is contained in:
parent
ba29536177
commit
73f41be48e
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -30,11 +30,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: 7
|
version: 7
|
||||||
run_install: false
|
run_install: false
|
||||||
- name: Get pnpm store directory
|
|
||||||
id: pnpm-cache
|
|
||||||
run: |
|
|
||||||
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
|
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
name: Setup pnpm cache
|
name: Setup pnpm cache
|
||||||
with:
|
with:
|
||||||
@ -51,5 +46,6 @@ jobs:
|
|||||||
user_name: ${{ secrets.GIT_USER }}
|
user_name: ${{ secrets.GIT_USER }}
|
||||||
user_email: ${{ secrets.GIT_EMAIL }}
|
user_email: ${{ secrets.GIT_EMAIL }}
|
||||||
publish_branch: gh-pages
|
publish_branch: gh-pages
|
||||||
|
exclude_assets: '.github,Build,package.json,pnpm-lock.yaml'
|
||||||
publish_dir: ./
|
publish_dir: ./
|
||||||
cname: ruleset.skk.moe
|
cname: ruleset.skk.moe
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user