Skip to content

Commit

Permalink
ci: Dispatch publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
freezy committed Oct 15, 2023
1 parent 2c8cd01 commit 97d1966
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,15 @@ jobs:
prerelease: ${{ steps.nextVersion.outputs.isPrerelease }}
commitish: ${{ steps.commit.outputs.commitish }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

dispatch:
runs-on: ubuntu-latest
needs: [ release ]
if: github.repository == 'VisualPinball/NativeTrees' && github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.GH_PAT }}
event-type: release-complete
client-payload: '{"artifacts_run_id": "${{ github.run_id }}"}'

0 comments on commit 97d1966

Please sign in to comment.