Skip to content

Commit

Permalink
ci: add cron job for docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Feb 27, 2022
1 parent f5bcc89 commit 261f8f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- master
paths:
- docs/**
schedule:
- cron: '0 0,12 * * *'

jobs:
deploy:
Expand All @@ -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
Expand Down

0 comments on commit 261f8f6

Please sign in to comment.