From dfe3ad7611f705ff7c522dbdbb5d9586b98ff141 Mon Sep 17 00:00:00 2001 From: Curtis Banh <30607061+cqbanh@users.noreply.github.com> Date: Wed, 5 Jun 2024 18:13:47 -0700 Subject: [PATCH] CICD - Publish Docs, check dependabot --- .github/workflows/build-pipeline.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build-pipeline.yml b/.github/workflows/build-pipeline.yml index eee72a21..db822ec3 100644 --- a/.github/workflows/build-pipeline.yml +++ b/.github/workflows/build-pipeline.yml @@ -201,10 +201,7 @@ jobs: poetry run sphinx-build -b html ./docs docs/_build/ - name: Publish Docs uses: JamesIves/github-pages-deploy-action@v4 - if: | - github.ref == 'refs/heads/develop' || - github.ref == 'refs/heads/main' || - startsWith(github.ref, 'refs/heads/release') + if: ${{ github.actor != 'dependabot[bot]' }} with: branch: gh-pages # The branch the action should deploy to. folder: docs/_build/ # The folder the action should deploy.