Skip to content

Merge pull request #130 from domain-protect/renovate/checkov-3.x #27

Merge pull request #130 from domain-protect/renovate/checkov-3.x

Merge pull request #130 from domain-protect/renovate/checkov-3.x #27

Workflow file for this run

name: Publish website
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
id-token: write
pages: write
jobs:
deploy:
name: Publish docs website
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Set up Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version-file: '.python-version'
cache: 'pip' # caching pip dependencies
- name: Set up build cache
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
with:
key: mkdocs-material-${{ hashfiles('.cache/**') }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install dependencies
run: |
pip install -r requirements-docs.txt
- name: Deploy GitHub Pages
run: mkdocs gh-deploy --force
- name: Save build cache
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
with:
key: mkdocs-material-${{ hashfiles('.cache/**') }}
path: .cache