actions: fix action

This commit is contained in:
SouthFox-D 2022-04-04 23:20:05 +08:00
parent b41d78e9c4
commit 6e2426051e

View file

@ -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