From 6e2426051e292c05bb3e8b841c5b86d12c38b35e Mon Sep 17 00:00:00 2001 From: SouthFox-D Date: Mon, 4 Apr 2022 23:20:05 +0800 Subject: [PATCH] actions: fix action --- .github/workflows/backup-img.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backup-img.yml b/.github/workflows/backup-img.yml index 275e462..b7977e0 100644 --- a/.github/workflows/backup-img.yml +++ b/.github/workflows/backup-img.yml @@ -36,9 +36,9 @@ jobs: DEPLOY_KEY: ${{ secrets.HEXO_DEPLOY }} run: | git clone https://github.com/SouthFox-D/blog_img.git blog_img - cp -frp newimg/ blog_img/ + cp -frp newimg/ blog_img cd blog_img git add . - git diff --exit-code || git commit -m "Auto backup" + git commit -m "Auto backup" git push --force https://$DEPLOY_KEY@github.com/SouthFox-D/blog_img.git