Skip to content

add venv to gitignore #30

add venv to gitignore

add venv to gitignore #30

Workflow file for this run

name: GitHub Pages
on:
workflow_dispatch:
push:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
sudo apt install python3-tk -y
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r doc/requirements.txt
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Create and package documentation
run: |
./doc/create_doc.sh
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "doc/html"
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1