add
This commit is contained in:
@@ -58,14 +58,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git checkout main
|
git checkout main
|
||||||
git reset --hard upstream/main
|
git reset --hard upstream/main
|
||||||
git push origin main --force || (for i in {1..10}; do
|
git add -u
|
||||||
echo "------" &&
|
git commit -m "Update from upstream"
|
||||||
echo "你需要手动同步上游分支" &&
|
git pull --rebase upstream main
|
||||||
echo "同步方法如下:" &&
|
git push origin main --force
|
||||||
echo "1. 打开你的仓库首页:https://github.com/${{ github.repository }}" &&
|
|
||||||
echo "2. 点击 Sync fork"&&
|
|
||||||
echo "3. 点击 Update branch 或 Discard xxx commits";
|
|
||||||
done; exit 1)
|
|
||||||
|
|
||||||
# 从备份目录将.txt文件还原到当前目录,然后删除备份目录
|
# 从备份目录将.txt文件还原到当前目录,然后删除备份目录
|
||||||
- name: Restore local .txt files and delete backup
|
- name: Restore local .txt files and delete backup
|
||||||
|
|||||||
Reference in New Issue
Block a user