Skip to content

Commit 97d1966

Browse files
committed
ci: Dispatch publish.
1 parent 2c8cd01 commit 97d1966

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,15 @@ jobs:
4242
prerelease: ${{ steps.nextVersion.outputs.isPrerelease }}
4343
commitish: ${{ steps.commit.outputs.commitish }}
4444
env:
45-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
47+
dispatch:
48+
runs-on: ubuntu-latest
49+
needs: [ release ]
50+
if: github.repository == 'VisualPinball/NativeTrees' && github.ref == 'refs/heads/main' && github.event_name == 'push'
51+
steps:
52+
- uses: peter-evans/repository-dispatch@v1
53+
with:
54+
token: ${{ secrets.GH_PAT }}
55+
event-type: release-complete
56+
client-payload: '{"artifacts_run_id": "${{ github.run_id }}"}'

0 commit comments

Comments
 (0)