From 8785b28af61dbee5b07235b987ca6c970d6be337 Mon Sep 17 00:00:00 2001 From: SouthFox-D Date: Mon, 4 Apr 2022 23:59:39 +0800 Subject: [PATCH] actions: fix action --- .github/workflows/backup-img.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backup-img.yml b/.github/workflows/backup-img.yml index e4c6ab3..608ddd5 100644 --- a/.github/workflows/backup-img.yml +++ b/.github/workflows/backup-img.yml @@ -36,7 +36,7 @@ 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 -f newimg/* blog_img cd blog_img git add . git commit -m "Auto backup" || echo "Nothing to push"