Skip to content

Commit

Permalink
Fix doc build in gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
elkowar committed May 4, 2021
1 parent 8c51436 commit 488841d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 488841d

Please sign in to comment.