Add instruction to update pip and setuptools #101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |