diff --git a/.github/workflows/on commit.yaml b/.github/workflows/on commit.yaml index a0dfa66d..018db535 100644 --- a/.github/workflows/on commit.yaml +++ b/.github/workflows/on commit.yaml @@ -27,6 +27,7 @@ jobs: git config --global user.name "sun pack bot" git config --global user.email "sunserega2@gmail.com" git config --global --add url.https://github.com/.insteadOf "git@github.com:" + git fetch origin echo '==========' git branch -r @@ -50,7 +51,6 @@ jobs: git add . git commit -m "Split off gh-pages" - git fetch origin if git show-ref --verify --quiet refs/remotes/origin/$branch_name; then echo "Remote branch $branch_name found" if [ -z "$( git diff "origin/$branch_name" )" ]; then