modular-avatar/.github/workflows/trigger-repo-rebuild.yml
2022-09-09 17:14:33 -07:00

21 lines
539 B
YAML

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',
})