diff --git a/.github/workflows/build-deploy-doc.yml b/.github/workflows/build-deploy-doc.yml index fafaeb6f1..2bcefec14 100644 --- a/.github/workflows/build-deploy-doc.yml +++ b/.github/workflows/build-deploy-doc.yml @@ -43,22 +43,21 @@ defaults: jobs: # Checks for duplicate actions. Skips push actions if there is a matching or # duplicate pull-request action. - checks-for-duplicates: - runs-on: ubuntu-latest - # Map a step output to a job output - outputs: - should_skip: ${{ steps.skip_check.outputs.should_skip }} - steps: - - id: skip_check - uses: fkirc/skip-duplicate-actions@master - with: - concurrent_skipping: 'same_content' - skip_after_successful_duplicate: 'true' - do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]' + # checks-for-duplicates: + # runs-on: ubuntu-latest + # # Map a step output to a job output + # outputs: + # should_skip: ${{ steps.skip_check.outputs.should_skip }} + # steps: + # - id: skip_check + # uses: fkirc/skip-duplicate-actions@master + # with: + # concurrent_skipping: 'same_content' + # skip_after_successful_duplicate: 'true' + # do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]' build-doc: - needs: checks-for-duplicates - if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' || contains(github.ref, 'main') }} + # if: ${{ contains(github.ref, 'main') }} name: Build Documentation runs-on: ubuntu-20.04 diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 5cbfd04b6..08fa5a5a7 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -10,25 +10,25 @@ defaults: shell: bash jobs: - # Checks for duplicate actions. Skips push actions if there is a matching or - # duplicate pull-request action. - checks-for-duplicates: - runs-on: ubuntu-latest - # Map a step output to a job output - outputs: - should_skip: ${{ steps.skip_check.outputs.should_skip }} - steps: - - id: skip_check - uses: fkirc/skip-duplicate-actions@master - with: - concurrent_skipping: 'same_content' - skip_after_successful_duplicate: 'true' - do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]' + # # Checks for duplicate actions. Skips push actions if there is a matching or + # # duplicate pull-request action. + # checks-for-duplicates: + # runs-on: ubuntu-latest + # # Map a step output to a job output + # outputs: + # should_skip: ${{ steps.skip_check.outputs.should_skip }} + # steps: + # - id: skip_check + # uses: fkirc/skip-duplicate-actions@master + # with: + # concurrent_skipping: 'same_content' + # skip_after_successful_duplicate: 'true' + # do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]' checkout-and-cache: name: Custom checkout and cache for cFS documents - needs: checks-for-duplicates - if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' || contains(github.ref, 'main') }} + # needs: checks-for-duplicates + # if: ${{ contains(github.ref, 'main') }} runs-on: ubuntu-latest steps: @@ -55,7 +55,7 @@ jobs: deploy-documentation: needs: build-cfs-documentation - if: ${{ github.event_name == 'push' && contains(github.ref, 'main') }} + # if: ${{ github.event_name == 'push' && contains(github.ref, 'main') }} name: Deploy documentation to gh-pages runs-on: ubuntu-latest