diff --git a/.github/workflows/docs-pr.yml b/.github/workflows/docs-pr.yml index d49b28e41e8..02044c82224 100644 --- a/.github/workflows/docs-pr.yml +++ b/.github/workflows/docs-pr.yml @@ -90,16 +90,16 @@ jobs: run: | yarn workspace @noir-lang/noir_js build - - name: Build docs - run: - yarn workspace docs build - - name: Remove pre-releases working-directory: docs env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: yarn setStable + - name: Build docs + run: + yarn workspace docs build + - name: Deploy to Netlify uses: nwtgck/actions-netlify@v2.1 with: diff --git a/.github/workflows/docs-release.yml b/.github/workflows/docs-release.yml index c916c8b06c3..a144aaa921e 100644 --- a/.github/workflows/docs-release.yml +++ b/.github/workflows/docs-release.yml @@ -46,15 +46,15 @@ jobs: run: | yarn workspace @noir-lang/noir_js build - - name: Build docs - run: - yarn workspace docs build - - name: Remove pre-releases working-directory: docs env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: yarn setStable + + - name: Build docs + run: + yarn workspace docs build - name: Deploy to Netlify uses: nwtgck/actions-netlify@v2.1