Merge pull request #711 from jlpedrosa/trigger_helm_release

Trigger helm release
This commit is contained in:
Cody Lee
2024-05-07 17:33:58 -05:00
committed by GitHub
+11 -1
View File
@@ -82,4 +82,14 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: golift/unifi-poller
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}}" }}'