modular-avatar/.github/workflows/trigger-repo-rebuild.yml

21 lines
536 B
YAML
Raw Permalink Normal View History

name: Trigger repo listing generator
2022-09-10 08:04:49 +08:00
on:
release:
types: [published, unpublished, created, edited, deleted]
workflow_dispatch:
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
2022-09-10 08:04:49 +08:00
with:
github-token: ${{ secrets.VPM_REPO_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'bdunderscore',
repo: 'vpm-repo',
workflow_id: 'publish.yml',
ref: 'main',
})