Skip to content

Commit

Permalink
Create trigger-repo-rebuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BluWizard10 authored May 10, 2024
1 parent 6e3c4e4 commit 9d1955d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/trigger-repo-rebuild.yml
Original file line number Diff line number Diff line change
@@ -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@v7
with:
github-token: ${{ secrets.VPM_REPO_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'bluwizard10',
repo: 'VPM',
workflow_id: 'build-listing.yml',
ref: 'main',
})

0 comments on commit 9d1955d

Please sign in to comment.