From 71679662808f7439a522eb0b284756941824b3e4 Mon Sep 17 00:00:00 2001 From: goaaats <16760685+goaaats@users.noreply.github.com> Date: Sat, 10 Apr 2021 18:46:23 +0200 Subject: [PATCH] ci: don't fail when no changes --- .github/workflows/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b480f70a..4fb4024e6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -78,6 +78,9 @@ jobs: DEPLOY_SSH: ${{ secrets.DEPLOY_SSH }} GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no" run: | + ls -lah + ls -lah stg/ + eval "$(ssh-agent -s)" ssh-add - <<< "${DEPLOY_SSH}" @@ -85,6 +88,6 @@ jobs: git config --global user.email "actions@github.com" git add . - git commit -m "[CI] Update staging" + git commit -m "[CI] Update staging" || true - git push origin master + git push origin master || true