mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-03 04:02:52 +08:00
Add repo rebuild trigger
This commit is contained in:
parent
519c7b03df
commit
ebabad6550
21
.github/workflows/trigger-repo-rebuild.yml
vendored
Normal file
21
.github/workflows/trigger-repo-rebuild.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Trigger repo listing generator
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published, unpublished, created, edited, deleted]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
dispatch:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/github-script@v6
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.VPM_REPO_TOKEN }}
|
||||||
|
script: |
|
||||||
|
await github.rest.actions.createWorkflowDispatch({
|
||||||
|
owner: 'bdunderscore',
|
||||||
|
repo: 'vpm-repo',
|
||||||
|
workflow_id: 'publish.yml',
|
||||||
|
ref: 'main',
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user