File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -125,15 +125,14 @@ jobs:
125125 - build-and-push-frontend
126126 - build-and-push-backend
127127 runs-on : ubuntu-latest
128- if : |
129- github.event_name != 'pull_request'
128+ if : github.event_name != 'pull_request'
130129 steps :
131130 -
132131 name : Checkout repository
133132 uses : actions/checkout@v4
134133 -
135134 name : Call argocd github webhook
136135 run : |
137- data='{"ref": "'$GITHUB_REF'","repository": {"html_url":"'$GITHUB_SERVER_URL'/'$GITHUB_REPOSITORY' "}}'
138- sig=$(echo -n ${data} | openssl dgst -sha1 -hmac '' ${{ secrets.ARGOCD_PREPROD_WEBHOOK_SECRET}}'' | awk '{print "X-Hub-Signature: sha1="$2}')
139- curl -X POST -H 'X-GitHub-Event:push' -H "Content-Type: application/json" -H "${sig}" --data "${data}" ${{ vars.ARGOCD_PREPROD_WEBHOOK_URL }}
136+ data='{"ref": "'$GITHUB_REF'","repository": {"html_url":"'$GITHUB_SERVER_URL'/${{ secrets.DEPLOYMENT_REPO_URL }} "}}'
137+ sig=$(echo -n ${data} | openssl dgst -sha1 -hmac " ${{ secrets.ARGOCD_PREPROD_WEBHOOK_SECRET }}" | awk '{print "X-Hub-Signature: sha1="$2}')
138+ curl -X POST -H 'X-GitHub-Event:push' -H "Content-Type: application/json" -H "${sig}" --data "${data}" ${{ vars.ARGOCD_PREPROD_WEBHOOK_URL }}
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ and this project adheres to
2626- 🔒️(back) restrict access to favorite_list endpoint #690
2727- 🐛(backend) refactor to fix filtering on children
2828 and descendants views #695
29+ - 🐛(action) fix notify-argocd workflow #713
2930
3031
3132## [ 2.4.0] - 2025-03-06
You can’t perform that action at this time.
0 commit comments