Skip to content

Commit

Permalink
Create generate-index.yml
Browse files Browse the repository at this point in the history
1a versión
  • Loading branch information
ferhura authored Oct 11, 2024
1 parent ccd0c09 commit eb12cbb
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/generate-index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Generar index.html

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: pip install --upgrade pip

- name: Generate index.html
run: python generate_index.py

- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add index.html
git commit -m "Actualización automática de index.html"
git push

0 comments on commit eb12cbb

Please sign in to comment.