mirror of
https://github.com/one-among-us/data.git
synced 2024-11-10 13:24:50 +08:00
[O] Only repackage if non-comment files changed
This commit is contained in:
parent
c256e03517
commit
4ece2e4652
8
.github/workflows/generator.yml
vendored
8
.github/workflows/generator.yml
vendored
@ -48,9 +48,17 @@ jobs:
|
|||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: dist
|
folder: dist
|
||||||
|
|
||||||
|
- name: Check for document changes, ignoring comments
|
||||||
|
uses: dorny/paths-filter@v2
|
||||||
|
id: changes
|
||||||
|
with:
|
||||||
|
filters: |
|
||||||
|
src:
|
||||||
|
- 'people/**/*[!.json]'
|
||||||
|
|
||||||
- name: Trigger web repackage
|
- name: Trigger web repackage
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
|
if: steps.changes.outputs.src == 'true'
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GH_PERSONAL_TOKEN }}
|
github-token: ${{ secrets.GH_PERSONAL_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
|
Loading…
Reference in New Issue
Block a user