Skip to content

Commit

Permalink
ci - deploy docs to gh-pages on push to main (cloud-custodian#7237)
Browse files Browse the repository at this point in the history
Co-authored-by: Jorge Castro <[email protected]>
  • Loading branch information
ajkerrigan and Jorge Castro authored May 5, 2022
1 parent e4e4fa6 commit 363f154
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ jobs:
run: |
make sphinx
- name: Deploy Docs
if: ${{ github.event_name == 'push' }}
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/build/html
target-folder: docs

Tests:
runs-on: "${{ matrix.os }}"
needs: Lint
Expand Down

0 comments on commit 363f154

Please sign in to comment.