This commit is contained in:
2025-05-06 15:24:55 +03:00
parent b49190e295
commit f1c36e676e

View File

@@ -29,6 +29,12 @@ runs:
with:
version: 2.13.3
command: app set ${{ inputs.environment }} --parameter images.${{github.event.repository.name}}=${{ inputs.tag }}
- name: Sync changes
if: ${{ inputs.migrate == 'true' }}
uses: clowdhaus/argo-cd-action/@main
with:
version: 2.13.3
command: app sync ${{ inputs.environment }} --resource apps:Deployment:${{github.event.repository.name}}
- name: Migrate
if: ${{ inputs.migrate == 'true' }}
uses: clowdhaus/argo-cd-action/@main
@@ -50,9 +56,3 @@ runs:
with:
version: 2.13.3
command: app actions run ${{ inputs.environment }} restart --kind Deployment --resource-name ${{github.event.repository.name}}
- name: Migrate
if: ${{ inputs.migrate == 'true' }}
uses: clowdhaus/argo-cd-action/@main
with:
version: 2.13.3
command: app unset ${{ inputs.environment }} --parameter migrations.${{github.event.repository.name}}