From d02c4c102869ef1f092aafb28dd87ec57468ecfa Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Sat, 12 Aug 2023 00:11:03 -0500 Subject: [PATCH] =?UTF-8?q?=E4=BB=8E=202020=20=E5=B9=B4=209=20=E6=9C=88?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E9=87=8D=E5=BB=BA=E7=B4=A2=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/algolia.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/algolia.yaml b/.github/workflows/algolia.yaml index 835f0e6..b2d6e3e 100644 --- a/.github/workflows/algolia.yaml +++ b/.github/workflows/algolia.yaml @@ -4,6 +4,9 @@ on: push: branches: - master + schedule: + - cron: '0 8 * * *' + workflow_dispatch: jobs: build: @@ -34,7 +37,7 @@ jobs: run: | echo "ALGOLIA_API_SECRET=${{ secrets.AL_VALUE }}" >> .env curday=$(date +%Y-%m-%d) - echo "var curday='${curday}'" >> gulpfile.babel.js2 + echo "var curday='2020-09-01'" >> gulpfile.babel.js2 cat gulpfile.babel.js >> gulpfile.babel.js2 rm gulpfile.babel.js mv gulpfile.babel.js2 gulpfile.babel.js