Skip to content

Create genetic_algorithms.py #21

Create genetic_algorithms.py

Create genetic_algorithms.py #21

Workflow file for this run

name: Build and Deploy Docs
on:
push:
branches:
- main
jobs:
build-and-deploy:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Verify file structure
run: |
ls -R
- name: Build docs with sphinx-build (Strict Mode)
run: |
sphinx-build -b html -v -W docs/source docs/build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build