mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-24 13:29:01 +08:00
Add repo rebuild trigger
This commit is contained in:
parent
519c7b03df
commit
8346f4625c
18
.github/workflows/trigger-repo-rebuild.yml
vendored
Normal file
18
.github/workflows/trigger-repo-rebuild.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
on:
|
||||||
|
release:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
dispatch:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/github-script@v6
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.VPM_REPO_TOKEN }}
|
||||||
|
script: |
|
||||||
|
github.repos.createDispatchEvent({
|
||||||
|
owner: 'bdunderscore',
|
||||||
|
repo: 'vpm-repo',
|
||||||
|
workflow_id: 'publish.yml',
|
||||||
|
ref: 'main',
|
||||||
|
})
|
Loading…
x
Reference in New Issue
Block a user