Skip to content

Commit fb20472

Browse files
CordtusAlex | Interchain Labs
andauthored
feat(github actions): add workflow triggering docs update on release (cosmos#357)
* adds workflow to trigger cosmos/docs/evm/changelog updates on new release * remove unrelated files * Update trigger-docs-update.yml --------- Co-authored-by: Alex | Interchain Labs <[email protected]>
1 parent bfa2f05 commit fb20472

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# .github/workflows/trigger-docs-update.yml
2+
name: Trigger Docs Changelog Update
3+
4+
on:
5+
release:
6+
types: [published]
7+
8+
jobs:
9+
trigger-docs-update:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Trigger docs repository update
13+
uses: peter-evans/repository-dispatch@v3
14+
with:
15+
token: ${{ secrets.DOCS_REPO_TOKEN }}
16+
repository: cosmos/docs
17+
event-type: evm-release
18+
client-payload: |
19+
{
20+
"tag_name": "${{ github.event.release.tag_name }}",
21+
"release_name": "${{ github.event.release.name }}",
22+
"release_url": "${{ github.event.release.html_url }}",
23+
"repository": "${{ github.repository }}"
24+
}
25+

0 commit comments

Comments
 (0)