Skip to content

Commit

Permalink
github/workflows: add verification of building docs
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Lehtonen <[email protected]>
  • Loading branch information
marquiz committed Jun 21, 2023
1 parent a441b00 commit f7a2def
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/project-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,19 @@ jobs:
run: |
make verify
working-directory: src/github.com/containerd/nri-plugin-collection

- name: Build docs
run: |
make site-build
make clean-html
- name: Install gh-pages build dependencies
run: |
pip3 install --user -r docs/requirements.txt
echo "`python3 -m site --user-base`/bin" >> $GITHUB_PATH
- name: Verify update of gh-pages
run: |
git config user.name "Github"
git config user.email "[email protected]"
./scripts/build/update-gh-pages.sh

0 comments on commit f7a2def

Please sign in to comment.