Skip to content

Merge pull request #18 from YounesOMK/feat/deploy-docs-workflow #1

Merge pull request #18 from YounesOMK/feat/deploy-docs-workflow

Merge pull request #18 from YounesOMK/feat/deploy-docs-workflow #1

Workflow file for this run

name: Deploy Docs Site
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Build MKDocs Site
run: |
poetry run mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site