diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 261b1cfba..acd828488 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -4,11 +4,9 @@ on: push: branches: - main - - v0 pull_request: branches: - main - - v0 workflow_dispatch: permissions: @@ -84,9 +82,9 @@ jobs: run: make llms-text - name: Build site run: | - # If this is v0 branch, then we want to download stats. we do this + # If this is main branch, then we want to download stats. we do this # with the env variable DOWNLOAD_STATS=true - if [ "${{ github.ref }}" == "refs/heads/v0" ]; then + if [ "${{ github.ref }}" == "refs/heads/main" ]; then DOWNLOAD_STATS=true make build-docs else make build-docs @@ -146,7 +144,7 @@ jobs: fi - name: Configure GitHub Pages - if: github.ref == 'refs/heads/v0' + if: github.ref == 'refs/heads/main' uses: actions/configure-pages@v5 - name: Upload Pages Artifact @@ -156,6 +154,6 @@ jobs: path: ./docs/site/ - name: Deploy to GitHub Pages - if: github.ref == 'refs/heads/v0' + if: github.ref == 'refs/heads/main' id: deployment uses: actions/deploy-pages@v4