Compare commits
4 Commits
2a74089e37
...
2a6b52c461
| Author | SHA1 | Date | |
|---|---|---|---|
| 2a6b52c461 | |||
| d4987ff717 | |||
| feb7bf12ed | |||
| 99393d16ce |
@@ -46,6 +46,14 @@ runs:
|
|||||||
with:
|
with:
|
||||||
version: 3.1.3
|
version: 3.1.3
|
||||||
command: app sync ${{ inputs.environment }} --resource apps:Deployment:${{ github.event.repository.name }}*
|
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
|
- name: Refresh secret
|
||||||
uses: clowdhaus/argo-cd-action/@main
|
uses: clowdhaus/argo-cd-action/@main
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user