Skip to content

Commit

Permalink
Merge pull request #261 from jrbourbeau/fix-doc-build
Browse files Browse the repository at this point in the history
Limit documentation deployment
  • Loading branch information
mfisher87 authored Jul 16, 2023
2 parents d0632be + 2421dc1 commit c173121
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ on:
- tests/**
- docs/**
- notebooks/**
- .github/workflows/documentation.yml
pull_request:
paths:
- earthaccess/**
- tests/**
- docs/**
- notebooks/**
- .github/workflows/documentation.yml
types: [opened, synchronize]

jobs:
Expand Down Expand Up @@ -46,11 +48,11 @@ jobs:
run: poetry run bash scripts/build-docs.sh

- name: Deploy
if: |
github.event_name != 'push'
&& github.ref == 'refs/heads/main'
&& github.repository == 'nsidc/earthaccess'
uses: peaceiris/actions-gh-pages@v3
with:
EARTHDATA_USERNAME: ${{ secrets.EDL_USERNAME }}
EARTHDATA_PASSWORD: ${{ secrets.EDL_PASSWORD }}
EARTHACCESS_TEST_USERNAME: ${{ secrets.EDL_USERNAME }}
EARTHACCESS_TEST_PASSWORD: ${{ secrets.EDL_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site

0 comments on commit c173121

Please # to comment.