From 9aaf12d8096b5072ba877592e272dacaef9dba4f Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Fri, 20 Oct 2023 18:08:57 -0600 Subject: [PATCH] WIP cleanup vestigial GH Actions YAML for documentation --- .github/workflows/documentation.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 975ae16b..85c02221 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -11,14 +11,8 @@ on: - docs/** - notebooks/** - .github/workflows/documentation.yml - pull_request: - paths: - - earthaccess/** - - tests/** - - docs/** - - notebooks/** - - .github/workflows/documentation.yml - types: [opened, synchronize] + - "*.md" + - "*.txt" jobs: documentation: @@ -57,10 +51,7 @@ jobs: EARTHDATA_PASSWORD: ${{ secrets.EDL_PASSWORD }} - name: Deploy - if: | - github.event_name == 'push' - && (github.ref == 'refs/heads/main' || github.ref == 'ref/heads/documentation') - && github.repository == 'nsidc/earthaccess' + if: "github.ref_name == 'main' || github.ref_name == 'documentation'" uses: peaceiris/actions-gh-pages@v3 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}