docs: combine trivy.dev into trivy docs #1797
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@v5 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
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 |