Skip to content

Commit

Permalink
Create update_documentation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mursalatul committed Jan 20, 2024
1 parent c0b7128 commit aa25318
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/update_documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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

0 comments on commit aa25318

Please sign in to comment.