-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,7 +99,7 @@ jobs: | |
git config user.name "GitHub Actions" | ||
git config user.email "[email protected]" | ||
git checkout -b ${{ steps.branch-name.outputs.branch }} || git checkout ${{ steps.branch-name.outputs.branch }} | ||
git checkout -b ${{ github.ref_name }} || git checkout ${{ github.ref_name }} | ||
# 复制文档 | ||
rm -rf * # 清空当前分支内容 | ||
|
@@ -109,7 +109,7 @@ jobs: | |
# 提交更改 | ||
git add . | ||
git commit -m "Update documentation from source repository" || echo "No changes to commit" | ||
git push origin ${{ steps.branch-name.outputs.branch }} | ||
git push origin ${{ github.ref_name }} | ||
cd .. | ||
- name: Build SDist | ||
|