diff --git a/.github/workflows/backup-img.yml b/.github/workflows/backup-img.yml index b7977e0..e4c6ab3 100644 --- a/.github/workflows/backup-img.yml +++ b/.github/workflows/backup-img.yml @@ -39,6 +39,6 @@ jobs: cp -frp newimg/ blog_img cd blog_img git add . - git commit -m "Auto backup" + git commit -m "Auto backup" || echo "Nothing to push" git push --force https://$DEPLOY_KEY@github.com/SouthFox-D/blog_img.git