From 2a8ba5cb3e0fdfd900cc285c1a75d010071baa1e Mon Sep 17 00:00:00 2001 From: PJ568 Date: Sun, 8 Oct 2023 11:31:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=83=A8=E7=BD=B2=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/568tools_Release.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/568tools_Release.yml b/.github/workflows/568tools_Release.yml index a1ce247b..bf53a985 100644 --- a/.github/workflows/568tools_Release.yml +++ b/.github/workflows/568tools_Release.yml @@ -60,13 +60,19 @@ jobs: echo "url-count = ${{ steps.sitemap.outputs.url-count }}" echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}" - - name: Push - run: | - git config --global user.name "PJ569-bot" - git config --global user.email "LiuTian-PJ568@PJ568.eu.org" - git add -A - git commit -m '自动 Release' - git push + # Deploy + - uses: JamesIves/github-pages-deploy-action@4.1.7 + with: + branch: release # The branch the action should deploy to. + folder: . # The folder the action should deploy. + + # - name: Push + # run: | + # git config --global user.name "PJ569-bot" + # git config --global user.email "LiuTian-PJ568@PJ568.eu.org" + # git add -A + # git commit -m '自动 Release' + # 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