File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 21
21
docs:
22
22
- 'docs/**'
23
23
24
- dispatch :
24
+ dispatch-spin-docs :
25
25
name : Dispatch spin-docs-updated event
26
26
needs : changes
27
27
if : ${{ needs.changes.outputs.docs == 'true' }}
33
33
token : ${{ secrets.DEST_REPO_ACCESS_TOKEN }}
34
34
repository : ${{ secrets.DEST_REPO }}
35
35
event-type : spin-docs-updated
36
- client-payload : ' {"event_type": "spin-docs-updated", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
36
+ client-payload : ' {"event_type": "spin-docs-updated", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
37
+
38
+ dispatch-rust-docs :
39
+ name : Dispatch rust-docs spin-update event
40
+ runs-on : ubuntu-latest
41
+ if : ${{ github.repository_owner == 'fermyon' }}
42
+ steps :
43
+ - name : Repository Dispatch
44
+ uses : peter-evans/repository-dispatch@v2
45
+ with :
46
+ token : ${{ secrets.DEST_REPO_ACCESS_TOKEN }}
47
+ repository : fermyon/rust-docs
48
+ event-type : spin-update
49
+ client-payload : ' {"ref": "${{ github.ref_name }}"}'
You can’t perform that action at this time.
0 commit comments