File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Do not edit this file! This workflow should "just work"
2+
3+ name : Announce New Release to Rayforge Registry
4+
5+ # This workflow triggers automatically whenever a new tag matching 'v*.*.*' is pushed.
6+ on :
7+ push :
8+ tags :
9+ - ' v*.*.*'
10+
11+ jobs :
12+ announce-release :
13+ name : Announce to Central Registry
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Send repository_dispatch event
17+ uses : peter-evans/repository-dispatch@v2
18+ with :
19+ # The central registry repository that will receive the announcement.
20+ repository : barebaric/rayforge-registry
21+
22+ # This uses the secret you created in your repository settings.
23+ token : ${{ secrets.REGISTRY_ACCESS_TOKEN }}
24+
25+ # This is the event name the central registry is listening for.
26+ event-type : addon-release-published
27+
28+ # This is the data payload sent with the announcement.
29+ # It includes the tag that triggered the workflow and your repository name.
30+ client-payload : >-
31+ {
32+ "tag": "${{ github.ref_name }}",
33+ "repository": "${{ github.repository }}"
34+ }
You can’t perform that action at this time.
0 commit comments