Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Update listing.yml

Update listing.yml #10

Workflow file for this run

name: Commit Changes
on: [push]
jobs:
commit_changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Python script
run: python indexer.py ./
- name: Commit new files
env:
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
run: |
ls
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Actions"
git add .
git commit -m "Auto-commit new files" || echo "No changes to commit"
git push https://$PAT_TOKEN@github.com/notmycode-labs/file-server-from-git.git HEAD:main