From e2adb970345c718115624a4f14cd64d82943fd84 Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 23 Oct 2023 09:46:04 +0100 Subject: [PATCH] print-diff --- .gitea/workflows/build->develop.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build->develop.yml b/.gitea/workflows/build->develop.yml index d1b8c97..7556fab 100644 --- a/.gitea/workflows/build->develop.yml +++ b/.gitea/workflows/build->develop.yml @@ -47,13 +47,13 @@ jobs: env: CI_COMMIT_MESSAGE: converted to yml for review. CI_COMMIT_AUTHOR: Continuous Integration - run: git diff --porcelain HEAD origin/${{ env.DEVELOPMENT_BRANCH }} + run: git diff HEAD origin/${{ env.DEVELOPMENT_BRANCH }} - name: push env: CI_COMMIT_MESSAGE: converted to yml for review. CI_COMMIT_AUTHOR: Continuous Integration run: | - if $(git diff --porcelain HEAD origin/${{ env.DEVELOPMENT_BRANCH }}); then + if $(git diff HEAD origin/${{ env.DEVELOPMENT_BRANCH }}); then git push HEAD origin/${{ env.DEVELOPMENT_BRANCH }}; else echo 'no diff'