actions: fix action

This commit is contained in:
SouthFox-D 2022-04-04 23:18:44 +08:00
parent 736bd26465
commit b41d78e9c4

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 -frp newimg/ blog_img/
cd blog_img cd blog_img
git add . git add .
git diff --exit-code || git commit -m "Auto backup" git diff --exit-code || git commit -m "Auto backup"