Skip to content

Commit 1309159

Browse files
authored
ci: Trigger doc test whenever a new tag is added (#539)
* ci: tTrigger docs test after dev npm publish * chore: whitespace * fix: add new line at the end of file
1 parent 37c044d commit 1309159

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/devpackpublish.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,12 @@ jobs:
4848
git config --local user.email "[email protected]"
4949
git add .
5050
git commit -m "[CI Skip] ci: publish prerelease" -n
51-
git push
51+
git push
52+
- name: Repository Dispatch
53+
uses: peter-evans/repository-dispatch@v2
54+
with:
55+
token: ${{ secrets.REPO_ACCESS_TOKEN }}
56+
repository: KILTProtocol/docs
57+
event-type: sdk-update
58+
client-payload: '{"latestTag": "${{ steps.package_version.outputs.package_version }}"}'
59+

0 commit comments

Comments
 (0)