mirror of
https://github.com/aquasecurity/trivy.git
synced 2026-02-14 12:43:17 +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>
34 lines
922 B
YAML
34 lines
922 B
YAML
name: Deploy the dev documentation
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'docs/**'
|
|
- mkdocs.yml
|
|
branches:
|
|
- main
|
|
jobs:
|
|
deploy:
|
|
name: Deploy the dev documentation
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout main
|
|
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 git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
|
|
pip install -r docs/build/requirements.txt
|
|
env:
|
|
GH_TOKEN: ${{ secrets.MKDOCS_AQUA_BOT }}
|
|
- 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 --push dev
|