From 2d2afef7f3c633a578e53b5bed529c55b7ab210e Mon Sep 17 00:00:00 2001 From: juewuy Date: Thu, 17 Mar 2022 18:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E4=BF=AE=E6=94=B9=20=20=20=20=20=20?= =?UTF-8?q?=20=20.github/workflows/bin=5Fupdate.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bin_update.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bin_update.yml b/.github/workflows/bin_update.yml index a8453b2..f94c9ae 100644 --- a/.github/workflows/bin_update.yml +++ b/.github/workflows/bin_update.yml @@ -19,6 +19,10 @@ jobs: runs-on: ubuntu-18.04 steps: + + - name: Checkout + uses: actions/checkout@master + - name: Apt Update env: DEBIAN_FRONTEND: noninteractive @@ -28,6 +32,8 @@ jobs: - name: Update Dashboard run: | + ls -l + cd \bin echo 下载官方面板 curl -kfSL -o clashdb.zip https://github.com/Dreamacro/clash-dashboard/archive/gh-pages.zip echo 下载yacd面板 @@ -56,8 +62,7 @@ jobs: - name: Commit and push - run: |- + run: | git config --global user.email "juewuy@gmail.com" && git config --global user.name "Bot" - git diff git add . && git commit -m "自动同步最新版本Dashboard面板、数据库及根证书文件" || exit 0 - git push + git push