Merge pull request #2981 from adamreese/fix/templates-go #1504
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dispatch Event | |
on: | |
push: | |
branches: [main, "v*"] | |
tags: ["v*"] | |
jobs: | |
dispatch-rust-docs: | |
name: Dispatch rust-docs spin-update event | |
runs-on: ubuntu-latest | |
if: ${{ github.repository_owner == 'fermyon' }} | |
steps: | |
- name: Repository Dispatch | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.DEST_REPO_ACCESS_TOKEN }} | |
repository: fermyon/rust-docs | |
event-type: spin-update | |
client-payload: '{"ref": "${{ github.ref_name }}"}' |