From d76691110d6de43132693d1c93a29ad926342783 Mon Sep 17 00:00:00 2001 From: nichuanfang <37105637+nichuanfang@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:50:30 +0800 Subject: [PATCH] Update crawl.yml --- .github/workflows/crawl.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/crawl.yml b/.github/workflows/crawl.yml index 0fb8992..23df755 100644 --- a/.github/workflows/crawl.yml +++ b/.github/workflows/crawl.yml @@ -77,6 +77,17 @@ jobs: value: ${{ steps.execute.outputs.aligo_token }} pa_token: ${{ secrets.GH_TOKEN }} + - name: 更新ALIGO_TOKEN(tgbot) + uses: jon-grey/github-actions-secrets-creator@v1 + if: + # 如果${{ steps.execute.outputs.aligo_token }}存在 + steps.execute.outputs.aligo_token + with: + location: nichuanfang/tgbot + name: ALIGO_TOKEN + value: ${{ steps.execute.outputs.aligo_token }} + pa_token: ${{ secrets.GH_TOKEN }} + - name: keep alive uses: Smart-Transportation/push@v1.3 continue-on-error: true