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