mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-11-29 01:55:19 +01:00
actions: fix action
This commit is contained in:
parent
b41d78e9c4
commit
6e2426051e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/backup-img.yml
vendored
4
.github/workflows/backup-img.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue