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"