From f8692a44c25331302875225512ba11d4b0ac6d98 Mon Sep 17 00:00:00 2001 From: einaralex Date: Tue, 7 Jan 2025 16:23:26 +0000 Subject: [PATCH] fix: attempting to fix docs deploy --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 520a2b5a..68d0a295 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,13 +51,9 @@ jobs: - name: Build run: pnpm build - - name: Generate Documentation - if: ${{ needs.release-please.outputs.releases_created }} - run: pnpm run generate-docs - - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4 - if: ${{ needs.release-please.outputs.releases_created }} + if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./apps/developer/build