Update action.yml
This commit is contained in:
parent
09811d38ef
commit
b54800e7d6
1 changed files with 6 additions and 1 deletions
|
@ -92,7 +92,12 @@ runs:
|
||||||
git merge push-and-commit-action-${{ github.run_id }}-${{ github.job }}
|
git merge push-and-commit-action-${{ github.run_id }}-${{ github.job }}
|
||||||
git branch -d push-and-commit-action-${{ github.run_id }}-${{ github.job }}
|
git branch -d push-and-commit-action-${{ github.run_id }}-${{ github.job }}
|
||||||
|
|
||||||
|
if [[ `git status --porcelain` ]]; then
|
||||||
git push "${{ inputs.remote_repository }}" "$CURRENT_BRANCH:$TARGET_BRANCH" --follow-tags $FORCE $TAGS
|
git push "${{ inputs.remote_repository }}" "$CURRENT_BRANCH:$TARGET_BRANCH" --follow-tags $FORCE $TAGS
|
||||||
|
else
|
||||||
|
echo "No changes"
|
||||||
|
fi
|
||||||
|
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
branding:
|
branding:
|
||||||
|
|
Loading…
Add table
Reference in a new issue