Fix histogram outside text color #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |