ci: don't fail when no changes

This commit is contained in:
goaaats 2021-04-10 18:46:23 +02:00 committed by GitHub
parent 2a585e8d5d
commit 7167966280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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