Skip to content

indexer finished

indexer finished #5

name: Update Directory
on:
push:
paths:
- 'directory/**'
workflow_dispatch:
jobs:
update-directory:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Update DIRECTORY.md
run: |
pip install pyyaml requests
python3 indexer.py
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add DIRECTORY.md
git commit -m "Update DIRECTORY.md" || echo "No changes to commit"
git push