ci 提交gitea仓库

This commit is contained in:
朱秀清 2022-01-16 13:29:21 +08:00
parent 3040e18a35
commit 8e057218d3
2 changed files with 2 additions and 4 deletions

View File

@ -12,9 +12,7 @@ git config --global user.email "$GIT_EMAIL"
git add . git add .
git commit -m "${msg}" git commit -m "${msg}"
git remote add gitea "$GIT_REPO" git push $GIT_REPO master --force # 推送
git show-ref
git push gitea master --force # 推送
echo "::set-output name=repo::$GIT_REPO" echo "::set-output name=repo::$GIT_REPO"

View File

@ -4,4 +4,4 @@ git config --global user.email "1667834841@qq.com"
git add -A git add -A
git commit -m "test" git commit -m "test"
git push https://ggball:bc65cc90c76baba247e753c95ef5721200e97b59@gitea.dongshanxia.top:35000/ggball/onemanager-java.git --force master git push -f https://ggball:bc65cc90c76baba247e753c95ef5721200e97b59@gitea.dongshanxia.top:35000/ggball/onemanager-java.git master