Skip to content

Create update_documentation.yml #1

Create update_documentation.yml

Create update_documentation.yml #1

name: Update Documentation
on:
push:
branches:
- master # Update this branch name if needed
jobs:
update_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.10
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run UPDATE_DOC.py
run: python UPDATE_DOC.py
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add DOCUMENTATION.md
git commit -m "Update documentation"
git push