diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa39a285..a25ae411 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,4 +82,13 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - repository: golift/unifi-poller \ No newline at end of file + repository: golift/unifi-poller + - name: Trigger unpoller version update in helm-chart-update + run: | + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/unpoller/helm-chart/actions/workflows/OnUnpollerRelease/dispatches \ + -d '{"ref":"main","inputs":{"unpoller_version":"${{github.ref_name}}" }}' \ No newline at end of file