ci 提交gitea仓库
This commit is contained in:
parent
3040e18a35
commit
8e057218d3
4
.github/actions/gitea-commit/entrypoint.sh
vendored
4
.github/actions/gitea-commit/entrypoint.sh
vendored
@ -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"
|
2
test.bat
2
test.bat
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user