diff --git a/.github/workflows/project-checks.yaml b/.github/workflows/project-checks.yaml index 49d50b1c7..44a6196b3 100644 --- a/.github/workflows/project-checks.yaml +++ b/.github/workflows/project-checks.yaml @@ -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 "no-reply@github.com" + ./scripts/build/update-gh-pages.sh