Skip to content

Add instruction to update pip and setuptools #101

Add instruction to update pip and setuptools

Add instruction to update pip and setuptools #101

Workflow file for this run

on:
push:
branches: [main]
name: Build & Deploy static website
jobs:
deploy:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Build
run: |
sudo apt install python3-pip python3-venv
python3 -m venv venv
. ./venv/bin/activate
python3 -m pip install -r requirements.txt
make docs
- name: Git Push
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add docs
git commit -m 'Auto-commit by GitHub Actions' && git push origin main || true