Skip to content

Commit

Permalink
Add check for building docsite (ansible#14406)
Browse files Browse the repository at this point in the history
AlanCoding authored Sep 5, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 6ce5799 commit 20fc7c7
Showing 2 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -7,6 +7,9 @@ env:
COMPOSE_TAG: ${{ github.base_ref || 'devel' }}
on:
pull_request:
paths-ignore:
- 'docs/**'
- '.github/workflows/docs.yml'
jobs:
common-tests:
name: ${{ matrix.tests.name }}
19 changes: 19 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Docsite CI
on:
pull_request:
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
jobs:
docsite-build:
name: docsite test build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: install tox
run: pip install tox

- name: Assure docs can be built
run: tox -e docs

0 comments on commit 20fc7c7

Please sign in to comment.