1
0
mirror of https://github.com/AcChosen/VR-Stage-Lighting.git synced 2024-11-23 23:21:07 +01:00

Create trigger-repo-update.yml

This commit is contained in:
AcChosen 2023-07-05 19:28:04 -04:00 committed by GitHub
parent de63b2cae9
commit 902362474d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,23 @@
name: Trigger Repo Update
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.VRSL_VPM_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'rrazgriz',
repo: 'raz-vpm',
workflow_id: 'build-listing.yml',
ref: 'main',
})
# thanks to bd_ for this action: https://github.com/bdunderscore/modular-avatar/blob/main/.github/workflows/trigger-repo-rebuild.yml