From aedf974dfd7e4297ac6edb5a9a81624249abd822 Mon Sep 17 00:00:00 2001 From: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com> Date: Wed, 4 Jun 2025 13:27:48 -0400 Subject: [PATCH] docs: deploy from v0 branch for now (#4960) only deploy docs on v0 --- .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