actions: fix action

This commit is contained in:
SouthFox-D 2022-04-04 23:59:39 +08:00
parent ccb71ee09b
commit 8785b28af6

View file

@ -36,7 +36,7 @@ jobs:
DEPLOY_KEY: ${{ secrets.HEXO_DEPLOY }} DEPLOY_KEY: ${{ secrets.HEXO_DEPLOY }}
run: | run: |
git clone https://github.com/SouthFox-D/blog_img.git blog_img 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 cd blog_img
git add . git add .
git commit -m "Auto backup" || echo "Nothing to push" git commit -m "Auto backup" || echo "Nothing to push"