mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-24 03:58:12 -08:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
742 B
YAML
30 lines
742 B
YAML
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/checkout@v4.1.6
|
|
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 "knqyf263@gmail.com"
|
|
- name: Deploy the dev documents
|
|
run: mike deploy test
|