Skip to content
Permalink
Browse files
Update deploy.yml
Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>
  • Loading branch information
xiaoyang-sde committed Sep 9, 2021
1 parent f6f5272 commit 28579114f2909c57351bb3d96c714a380b4d01e5
Showing 2 changed files with 10 additions and 2 deletions.
@@ -5,6 +5,9 @@ on:
branches: [master]
push:
branches: [master]
schedule:
# Run everyday at 9:00 AM (See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07)
- cron: "0 5 * * *"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -21,9 +24,13 @@ jobs:
with:
node-version: "16"

- name: Build
- name: Sync Docs
run: |
npm ci
npm run sync
- name: Build
run: |
npm run build
cp .asf.yaml build
@@ -11,7 +11,8 @@
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids"
"write-heading-ids": "docusaurus write-heading-ids",
"sync": "node scripts/sync-docs.js"
},
"dependencies": {
"@docusaurus/core": "2.0.0-beta.3",

0 comments on commit 2857911

Please sign in to comment.