From 261f8f64c3939b50d2709d65c41d231f13f6e068 Mon Sep 17 00:00:00 2001 From: Shigma <1700011071@pku.edu.cn> Date: Mon, 28 Feb 2022 06:29:04 +0800 Subject: [PATCH] ci: add cron job for docs build --- .github/workflows/docs.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1dacd85667..9832153acd 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,6 +6,8 @@ on: - master paths: - docs/** + schedule: + - cron: '0 0,12 * * *' jobs: deploy: @@ -28,6 +30,8 @@ jobs: restore-keys: ${{ runner.os }}-yarn- - name: Install run: yarn + - name: Compile + run: yarn compile - name: Build run: yarn docs build - name: Deploy