Skip to content

Commit

Permalink
Merge pull request #18 from YounesOMK/feat/deploy-docs-workflow
Browse files Browse the repository at this point in the history
🤖 ci: add docs deployment workflow
  • Loading branch information
YounesOMK authored Jan 4, 2024
2 parents 6c3f741 + 9f1c45f commit 4337d38
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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

0 comments on commit 4337d38

Please sign in to comment.