From 73d5a96c50a102fb26dc27d51bbf22fb4868996d Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Thu, 21 Apr 2022 12:18:21 -0600 Subject: [PATCH] Fix #463, Remove doc deploy skip for main branch actions --- .github/workflows/build-deploy-doc.yml | 2 +- .github/workflows/build-documentation.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-deploy-doc.yml b/.github/workflows/build-deploy-doc.yml index d4b00b9c8..94e578698 100644 --- a/.github/workflows/build-deploy-doc.yml +++ b/.github/workflows/build-deploy-doc.yml @@ -48,7 +48,7 @@ jobs: build-doc: needs: checks-for-duplicates - if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }} + if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' || contains(github.ref, 'main' }} name: Build Documentation runs-on: ubuntu-18.04 diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 149149e50..4b661dd6f 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -23,7 +23,7 @@ jobs: checkout-and-cache: name: Custom checkout and cache for cFS documents needs: checks-for-duplicates - if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }} + if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' || contains(github.ref, 'main') }} runs-on: ubuntu-latest steps: