Fix doc build in gh actions
This commit is contained in:
parent
8c5143653c
commit
488841d3e8
1 changed files with 4 additions and 4 deletions
8
.github/workflows/gh-pages.yml
vendored
8
.github/workflows/gh-pages.yml
vendored
|
@ -17,11 +17,11 @@ jobs:
|
|||
- uses: actions/checkout@master
|
||||
|
||||
# Build widget documentation
|
||||
- name: Use nodejs to build widget documentation
|
||||
uses: actions/setup-node@v1
|
||||
- name: Use deno to build widget documentation
|
||||
uses: denoland/setup-deno@main
|
||||
with:
|
||||
node-version: "12.x"
|
||||
- run: node gen-docs.js ./src/widgets/widget_definitions.rs >> ./docs/content/main/widgets.md
|
||||
deno-version: "v1.x"
|
||||
- run: deno run --allow-read gen-docs.ts ./src/widgets/widget_definitions.rs >> ./docs/content/main/widgets.md
|
||||
|
||||
# Build & deploy
|
||||
- name: shalzz/zola-deploy-action
|
||||
|
|
Loading…
Add table
Reference in a new issue