Skip to content

Commit

Permalink
ci(rtd): trigger rtd build if ci tests succeed (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli authored Apr 12, 2024
1 parent 1f358de commit a59b426
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,17 @@ jobs:
env:
REPOS_PATH: ${{ github.workspace }}
GITHUB_TOKEN: ${{ github.token }}
run: pytest -v -n auto --durations 0 test_download.py
run: pytest -v -n auto --durations 0 test_download.py

rtd:
name: Docs
needs: test
runs-on: ubuntu-22.04
if: github.repository_owner == 'MODFLOW-USGS' && github.event_name == 'push'
steps:
- name: Trigger RTD
uses: dfm/rtds-action@v1
with:
webhook_url: ${{ secrets.RTDS_WEBHOOK_URL }}
webhook_token: ${{ secrets.RTDS_WEBHOOK_TOKEN }}
commit_ref: ${{ github.ref }}

0 comments on commit a59b426

Please sign in to comment.