Skip to content

Upload artifact

Upload artifact #8

Workflow file for this run

name: Upload docs artifact
on: [push]
jobs:
Create-Docs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
pip install -r docs_requirements.txt
- name: Create docs
run: mkdocs build
- name: Upload as artifact
uses: actions/upload-artifact@v4
with:
name: my-artifact
path: site