fix
This commit is contained in:
@@ -29,6 +29,12 @@ runs:
|
|||||||
with:
|
with:
|
||||||
version: 2.13.3
|
version: 2.13.3
|
||||||
command: app set ${{ inputs.environment }} --parameter images.${{github.event.repository.name}}=${{ inputs.tag }}
|
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
|
- name: Migrate
|
||||||
if: ${{ inputs.migrate == 'true' }}
|
if: ${{ inputs.migrate == 'true' }}
|
||||||
uses: clowdhaus/argo-cd-action/@main
|
uses: clowdhaus/argo-cd-action/@main
|
||||||
@@ -49,10 +55,4 @@ runs:
|
|||||||
uses: clowdhaus/argo-cd-action/@main
|
uses: clowdhaus/argo-cd-action/@main
|
||||||
with:
|
with:
|
||||||
version: 2.13.3
|
version: 2.13.3
|
||||||
command: app actions run ${{ inputs.environment }} restart --kind Deployment --resource-name ${{github.event.repository.name}}
|
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}}
|
|
||||||
Reference in New Issue
Block a user