Skip to content

Commit

Permalink
从 2020 年 9 月开始重建索引
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Aug 12, 2023
1 parent b81c4f8 commit d02c4c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/algolia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- master
schedule:
- cron: '0 8 * * *'
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d02c4c1

Please sign in to comment.