From 1b11d9cb757a2d11aa187a96d463b1e5552eb7cd Mon Sep 17 00:00:00 2001 From: PJ568 Date: Fri, 20 Oct 2023 10:52:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E5=90=8E=E4=BF=AE=E5=A4=8D=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/568tools_Release.yml | 31 +++++++++++++------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/568tools_Release.yml b/.github/workflows/568tools_Release.yml index 9eb9c811..5ce7aeef 100644 --- a/.github/workflows/568tools_Release.yml +++ b/.github/workflows/568tools_Release.yml @@ -24,6 +24,7 @@ jobs: uses: actions/checkout@v3 with: ref: main + submodules: recursive - name: Merge run: | @@ -55,22 +56,22 @@ jobs: branch: release # The branch the action should deploy to. folder: . # The folder the action should deploy. - - name: Checkout release branch - uses: actions/checkout@v3 - with: - ref: release + # - name: Checkout release branch + # uses: actions/checkout@v3 + # with: + # ref: release - - name: Update tool lib - run: | - rm -r ./lib/ - git config --global user.name "PJ569-bot" - git config --global user.email "LiuTian-PJ568@PJ568.eu.org" - git submodule update - # git rm --cached lib - # git submodule add -b tools https://github.com/PJ-568/568tools.git ./lib - # git add ./lib/ - git commit -m '库更新' - git push + # - name: Update tool lib + # run: | + # rm -r ./lib/ + # git config --global user.name "PJ569-bot" + # git config --global user.email "LiuTian-PJ568@PJ568.eu.org" + # git submodule update + # # git rm --cached lib + # # git submodule add -b tools https://github.com/PJ-568/568tools.git ./lib + # # git add ./lib/ + # git commit -m '库更新' + # git push - name: Ping Google run: curl https://www.google.com/ping?sitemap=https://Tools.PJ568.eu.org/sitemap.xml \ No newline at end of file