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