try to fix

This commit is contained in:
2025-11-19 12:49:52 +03:00
parent 26a57c2206
commit 99393d16ce

View File

@@ -46,6 +46,14 @@ runs:
with:
version: 3.1.3
command: app sync ${{ inputs.environment }} --resource apps:Deployment:${{ github.event.repository.name }}*
- name: Sync related deployments
shell: bash
run: |
for name in $(argocd app resources ${{ inputs.environment }} | grep Deploy | grep ${{ github.event.repository.name }} | awk '{print($4)}'); do
echo "Syncing $name"
argocd app sync ${{ inputs.environment }} --resource "$name"
done
- name: Refresh secret
uses: clowdhaus/argo-cd-action/@main
with: