Skip to content

Auto-commit from external-blogs #97

Auto-commit from external-blogs

Auto-commit from external-blogs #97

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