Skip to content

Helm chart improvements for robustness and high availability #413

Helm chart improvements for robustness and high availability

Helm chart improvements for robustness and high availability #413

---
name: Publish SDK Docs
on:
push:
branches: [release/**]
jobs:
publish:
name: Build 🔨 and publish 📰 the api docs 📁 to gh-pages
if: github.repository == 'zenml-io/zenml'
runs-on: ubuntu-latest
env:
ZENML_DEBUG: 1
ZENML_ANALYTICS_OPT_IN: false
PYTHONIOENCODING: utf-8
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0 # fetch all commits/branches including gh-pages
- name: Get the version from the github branch name
id: get_version
run: |
BRANCH='${{github.ref_name}}'
echo ::set-output name=VERSION::${BRANCH#release/}
- uses: actions/[email protected]
with:
node-version: '14'
- run: npm install
- run: npm install html-minifier -g
- name: Set up Python 3.11
uses: actions/[email protected]
with:
python-version: '3.11'
- name: Setup git user
run: |
git config --global user.name 'Code Monkey'
git config --global user.email '[email protected]'
- name: Runs docs generation
run: |-
bash scripts/generate-docs.sh -s src/zenml/ --push --latest -v ${{ steps.get_version.outputs.VERSION }}