Skip to content

Commit

Permalink
test build examples
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRosenstein committed Nov 11, 2023
1 parent 58ff46d commit 6ccbff1
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,28 @@ on:
branches: [ "develop" ]

jobs:
test:
docusaurs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/install
- run: cd examples/docusaurus && pydoc-markdown
- run: cd examples/docusaurus/docusaurus-example && npm install && npm run build

mkdocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/install
- run: pipx install mkdocs
- run: cd examples/mkdocs && pydoc-markdown
- run: cd examples/mkdocs/build/docs && mkdocs build

hugo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/install
- run: curl https://github.com/gohugoio/hugo/releases/download/v0.120.4/hugo_0.120.4_linux-amd64.tar.gz -L | tar -C /usr/local/bin -xz hugo
- run: cd examples/hugo && pydoc-markdown
- run: cd examples/hugo/build/docs && hugo build

0 comments on commit 6ccbff1

Please sign in to comment.