diff --git a/.github/workflows/gen_docs.yml b/.github/workflows/gen_docs.yml
index 438f42a..2418481 100644
--- a/.github/workflows/gen_docs.yml
+++ b/.github/workflows/gen_docs.yml
@@ -35,7 +35,7 @@ jobs:
       env:
         OPENSCADPATH: ${{ github.workspace }}/..
       with:
-        run: $(which openscad-docsgen) -f
+        run: openscad-docsgen -f
 
     - name: Upload Docs to Wiki
       uses: SwiftDocOrg/github-wiki-publish-action@v1
diff --git a/.github/workflows/gen_tutorials.yml b/.github/workflows/gen_tutorials.yml
index e68339d..c4e3424 100644
--- a/.github/workflows/gen_tutorials.yml
+++ b/.github/workflows/gen_tutorials.yml
@@ -45,7 +45,7 @@ jobs:
       env:
         OPENSCADPATH: ${{ github.workspace }}/..
       with:
-        run: $(which openscad-mdimggen) -f
+        run: openscad-mdimggen -f
 
     - name: Upload Tutorials to Wiki
       uses: SwiftDocOrg/github-wiki-publish-action@v1