Open source video conferencing app powered by LiveKit. Built with Django and React.
💚(github) fix argocd notification
Jacques ROUSSEL4326df4b6aab
diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.ymlindex c8abcaaa..0c25021b 100644--- a/.github/workflows/docker-hub.yml+++ b/.github/workflows/docker-hub.yml@@ -127,5 +127,5 @@ jobs:name: Call argocd github webhookrun: |data='{"ref": "'$GITHUB_REF'","repository": {"html_url":"'$GITHUB_SERVER_URL'/'$GITHUB_REPOSITORY'"}}'- sig=$(echo -n ${data} | openssl dgst -sha1 -hmac ''${{ secrets.ARGOCD_WEBHOOK_SECRET }}'' | awk '{print "X-Hub-Signature: sha1="$2}')+ sig=$(echo -n ${data} | openssl dgst -sha1 -hmac "${{ secrets.ARGOCD_WEBHOOK_SECRET }}" | awk '{print "X-Hub-Signature: sha1="$2}')curl -X POST -H 'X-GitHub-Event:push' -H "Content-Type: application/json" -H "${sig}" --data "${data}" ${{ vars.ARGOCD_WEBHOOK_URL }}