Compare commits
1 Commits
feb7bf12ed
...
new-deploy
| Author | SHA1 | Date | |
|---|---|---|---|
| 2a74089e37 |
@@ -46,14 +46,6 @@ 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