Skip to content

Commit

Permalink
🎨 improve intendtion
Browse files Browse the repository at this point in the history
  • Loading branch information
flaxel committed Jul 1, 2022
1 parent e6f94f7 commit bcb5002
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bcb5002

Please sign in to comment.