Open source video conferencing app powered by LiveKit. Built with Django and React.
🔧(ci) fix argocd notification
Jacques ROUSSELccca2b94726d
diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.ymlindex 59f39b61..2a53af19 100644--- a/.github/workflows/docker-hub.yml+++ b/.github/workflows/docker-hub.yml@@ -117,8 +117,7 @@ jobs:- build-and-push-backend- build-and-push-summaryruns-on: ubuntu-latest- if: |- github.event_name != 'pull_request'+ if: github.event_name != 'pull_request'steps:-name: Checkout repository@@ -126,6 +125,6 @@ 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}')+ data='{"ref": "'$GITHUB_REF'","repository": {"html_url":"'$GITHUB_SERVER_URL'/numerique-gouv/lasuite-deploiement"}}'+ sig=$(echo -n ${data} | openssl dgst -sha1 -hmac "${{ secrets.ARGOCD_PREPROD_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_PREPROD_WEBHOOK_URL }}