Skip to content

Commit

Permalink
WIP cleanup vestigial GH Actions YAML for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Oct 21, 2023
1 parent 6fbc4ae commit 2ef3f97
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: "TODO: branch in (main, deploy)"
uses: peaceiris/actions-gh-pages@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 2ef3f97

Please sign in to comment.