Skip to content

Add sonar-project.properties #43

Add sonar-project.properties

Add sonar-project.properties #43

Workflow file for this run

name: Docs CI
on:
# Triggers the workflow on push or pull request events but only for the default branch
push:
branches: [ main ]
permissions:
contents: write
jobs:
deploy:
name: Deploy
# This job will run on ubuntu virtual machine
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup python environment
uses: actions/[email protected]
with:
python-version: 3.x
- name: Store cache id
run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- name: Cache build
uses: actions/[email protected]
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Get dependencies
run: pip install mkdocs-material mkdocs-swagger-ui-tag
- name: Build and deploy to gh-pages branch
run: |
cd ./docs
mkdocs gh-deploy --force