Skip to content

Merge branch 'main' of https://github.com/PalomeroLab/how-to #2

Merge branch 'main' of https://github.com/PalomeroLab/how-to

Merge branch 'main' of https://github.com/PalomeroLab/how-to #2

name: Build and Deploy Docs
on:
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Deploy documentation
run: mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}