Skip to content

Commit

Permalink
Create trigger-repo-update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AcChosen authored Jul 5, 2023
1 parent de63b2c commit 9023624
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/trigger-repo-update.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9023624

Please sign in to comment.