docs(repo): Update trivy repo usage and example #653
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test docs | |
on: | |
pull_request: | |
paths: | |
- 'docs/**' | |
- 'mkdocs.yml' | |
jobs: | |
build-documents: | |
name: Documentation Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
persist-credentials: true | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
run: | | |
pip install -r docs/build/requirements.txt | |
- name: Configure the git user | |
run: | | |
git config user.name "knqyf263" | |
git config user.email "[email protected]" | |
- name: Deploy the dev documents | |
run: mike deploy test |