From bcb50021fb17e83e4555121eed3f770e657ce5be Mon Sep 17 00:00:00 2001 From: Falk Puschner Date: Fri, 1 Jul 2022 21:28:48 +0200 Subject: [PATCH] :art: improve intendtion --- action.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/action.yml b/action.yml index b3f4bb1..52f6250 100644 --- a/action.yml +++ b/action.yml @@ -195,12 +195,12 @@ runs: done <<< "${{ inputs.gitopsdev }}" fi - - name: Push GitOps Changes - if: inputs.gitopsenabled == 'true' && steps.preparation.outputs.push == 'true' - working-directory: .github/${{ inputs.gitopsrepository }} - shell: bash - run: | - git add . && git commit -m "Release ${{ inputs.dockerregistry }}/${{ inputs.dockerimage }}:${{ steps.preparation.outputs.tag }}" - # In case there was another push in the meantime, we pull it again - git pull --rebase https://${{ inputs.gitopsuser }}:${{ inputs.gitopstoken }}@github.com/${{ inputs.gitopsorganization }}/${{ inputs.gitopsrepository }}.git - git push https://${{ inputs.gitopsuser }}:${{ inputs.gitopstoken }}@github.com/${{ inputs.gitopsorganization }}/${{ inputs.gitopsrepository }}.git + - name: Push GitOps Changes + if: inputs.gitopsenabled == 'true' && steps.preparation.outputs.push == 'true' + working-directory: .github/${{ inputs.gitopsrepository }} + shell: bash + run: | + git add . && git commit -m "Release ${{ inputs.dockerregistry }}/${{ inputs.dockerimage }}:${{ steps.preparation.outputs.tag }}" + # In case there was another push in the meantime, we pull it again + git pull --rebase https://${{ inputs.gitopsuser }}:${{ inputs.gitopstoken }}@github.com/${{ inputs.gitopsorganization }}/${{ inputs.gitopsrepository }}.git + git push https://${{ inputs.gitopsuser }}:${{ inputs.gitopstoken }}@github.com/${{ inputs.gitopsorganization }}/${{ inputs.gitopsrepository }}.git