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
commit c2be83651e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 1 deletions

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}}" }}'