Compare commits
5 Commits
2a6b52c461
...
6efe8999bc
| Author | SHA1 | Date | |
|---|---|---|---|
| 6efe8999bc | |||
| d558a37736 | |||
| 42914c5104 | |||
| a2c38737b4 | |||
| bd4d6d5655 |
@@ -41,17 +41,12 @@ runs:
|
||||
with:
|
||||
version: 3.1.3
|
||||
command: app actions run ${{ inputs.environment }} migrate --kind Deployment --resource-name ${{github.event.repository.name}}
|
||||
- name: Sync changes
|
||||
uses: clowdhaus/argo-cd-action/@main
|
||||
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"
|
||||
argocd app sync ${{ inputs.environment }} --resource apps:Deployment:$name;
|
||||
done
|
||||
|
||||
- name: Refresh secret
|
||||
|
||||
Reference in New Issue
Block a user