From cb63c1ab728d391843eb91660cab52766b577342 Mon Sep 17 00:00:00 2001 From: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com> Date: Tue, 24 Jun 2025 12:01:03 -0400 Subject: [PATCH] Reapply "docs: deploy from v0 branch for now (#4960)" (#5184) (#5185) This reverts commit a7ea5e44ce12e3618d1a766587163afbfe424e04. --- .github/workflows/deploy_docs.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index acd828488..261b1cfba 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -4,9 +4,11 @@ on: push: branches: - main + - v0 pull_request: branches: - main + - v0 workflow_dispatch: permissions: @@ -82,9 +84,9 @@ jobs: run: make llms-text - name: Build site run: | - # If this is main branch, then we want to download stats. we do this + # If this is v0 branch, then we want to download stats. we do this # with the env variable DOWNLOAD_STATS=true - if [ "${{ github.ref }}" == "refs/heads/main" ]; then + if [ "${{ github.ref }}" == "refs/heads/v0" ]; then DOWNLOAD_STATS=true make build-docs else make build-docs @@ -144,7 +146,7 @@ jobs: fi - name: Configure GitHub Pages - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/v0' uses: actions/configure-pages@v5 - name: Upload Pages Artifact @@ -154,6 +156,6 @@ jobs: path: ./docs/site/ - name: Deploy to GitHub Pages - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/v0' id: deployment uses: actions/deploy-pages@v4