mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-24 03:58:12 -08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.5.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3.5.3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
29 lines
681 B
YAML
29 lines
681 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@v3.5.3
|
|
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 "knqyf263@gmail.com"
|
|
- name: Deploy the dev documents
|
|
run: mike deploy test
|