Skip to content

force execution.

force execution. #27

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.12.1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ADMIN/MAINTAIN/REQUIREMENTS.txt
- name: Run ADMIN/MAINTAIN/UPDATE_DOC.py
run: python ADMIN/MAINTAIN/UPDATE_DOC.py
- name: Commit and push changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add .
git commit -m "auto update documentation & api"
git push