From efcd03befbdbb9a42d8c5b56116c46de8260de8f Mon Sep 17 00:00:00 2001 From: cxykevin Date: Mon, 8 Jul 2024 21:48:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build.yam?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index cf77a7a..5b8a143 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -64,8 +64,7 @@ jobs: git remote set-url origin https://${{ secrets.GIT_USER }}:${{ secrets.GIT_PASSWD }}@git.hmtsai.cn/study-area-cn/study-area-cn git add . git commit -m "Auto format" - echo 'git push || echo "Finish"' > ./push_cmd.sh - bash ./push_cmd.sh + echo "__import__(\"os\").system(\"git push\")" > ezpush.py && python3 ezpush.py Run: runs-on: ubuntu-latest steps: