Skip to content

[Misc] Fix typo in link #219

[Misc] Fix typo in link

[Misc] Fix typo in link #219

name: Deploy homepage
on:
push:
branches:
- master
paths:
- 'examples/**'
- 'docs/**'
- 'zeus/**'
- 'mkdocs.yml'
- 'docker/Dockerfile'
- '.github/workflows/deploy_homepage.yaml'
env:
SITE_ANALYTICS: google
jobs:
deploy:
runs-on: ubuntu-latest
if: github.repository_owner == 'ml-energy'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
cache: 'pip'
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install homepage build dependencies
run: pip install '.[docs]'
- name: Build homepage
run: mkdocs gh-deploy --force