部署测试

This commit is contained in:
hooray
2023-01-07 11:26:18 +08:00
parent 846f8e58f2
commit a48ae3f16a
+17
View File
@@ -10,6 +10,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
fetch-depth: 0
- name: Clean git history
run: |
git config --global user.email "304327508@qq.com"
git config --global user.name "hooray"
git checkout --orphan new_branch
git add -A
git commit -m "deploy"
git branch -D master
git branch -m master
git push -f origin master
- name: Sync to Gitee
uses: wearerequired/git-mirror-action@master
env: