Skip to content

Commit

Permalink
use --build flag in examples ci
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRosenstein committed Nov 11, 2023
1 parent 6ccbff1 commit 4221d61
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,28 @@ jobs:
- uses: ./.github/actions/install
- run: cd examples/docusaurus && pydoc-markdown
- run: cd examples/docusaurus/docusaurus-example && npm install && npm run build
with:
name: docosaurus-site
path: docusaurus-example/build/site

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
- run: cd examples/mkdocs && pydoc-markdown --build
- uses: actions/upload-artifact@v3
with:
name: mkdocs-site
path: build/docs/site

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
- run: cd examples/hugo && pydoc-markdown --build
with:
name: hugo-site
path: build/docs/site

0 comments on commit 4221d61

Please sign in to comment.