Skip to content

Create generate_index.yml #1

Create generate_index.yml

Create generate_index.yml #1

name: Generate Index Files
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Run script
run: |
python generate_index.py # Runs your Python script
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: 'GitHub Actions'
author_email: 'actions@github.com'
message: 'Auto-update index.html files'