From 488841d3e89f7d387314fde627305d340f68f364 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Tue, 4 May 2021 09:20:34 +0200 Subject: [PATCH] Fix doc build in gh actions --- .github/workflows/gh-pages.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 855ef524..a3bea5e7 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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