Skip to content

Add a line to the Config and GCode reference explaining ⚠️ (#481) #14

Add a line to the Config and GCode reference explaining ⚠️ (#481)

Add a line to the Config and GCode reference explaining ⚠️ (#481) #14

Workflow file for this run

name: docs deployment
on:
workflow_dispatch:
push:
branches:
- main
paths:
- docs/**
- .github/workflows/cd-docs.yaml
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/cache@v4
id: pip-cache
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-pip-${{ hashFiles('docs/_kalico/mkdocs-requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
if: steps.pip-cache.outputs.cache-hit != 'true'
run: pip install -r docs/_kalico/mkdocs-requirements.txt
- name: Build MkDocs Pages
run: |
cd docs/
mkdocs build -f _kalico/mkdocs.yml
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: site # The folder the action should deploy.