From 1309159a1b26c1fce53b755a9498e06d94328496 Mon Sep 17 00:00:00 2001 From: Gerawork Aynekulu Date: Tue, 31 May 2022 17:14:13 +0200 Subject: [PATCH] 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 --- .github/workflows/devpackpublish.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/devpackpublish.yml b/.github/workflows/devpackpublish.yml index a1ef0c5df..c5f5a6e15 100644 --- a/.github/workflows/devpackpublish.yml +++ b/.github/workflows/devpackpublish.yml @@ -48,4 +48,12 @@ jobs: git config --local user.email "action@github.com" git add . git commit -m "[CI Skip] ci: publish prerelease" -n - git push \ No newline at end of file + git push + - name: Repository Dispatch + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.REPO_ACCESS_TOKEN }} + repository: KILTProtocol/docs + event-type: sdk-update + client-payload: '{"latestTag": "${{ steps.package_version.outputs.package_version }}"}' +