Skip to content

Merge branch 'main' of https://github.com/MarioC0093/Python_html_test #27

Merge branch 'main' of https://github.com/MarioC0093/Python_html_test

Merge branch 'main' of https://github.com/MarioC0093/Python_html_test #27

:%s/^/#
name: Generate HTML

Check failure on line 3 in .github/workflows/generate_html.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/generate_html.yaml

Invalid workflow file

You have an error in your yaml syntax on line 3
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jinja2 # Instala dependencias si las tienes
- name: Generate HTML
run: |
python try_01.ipynb # Reemplaza con el nombre de tu script Python
git config --local user.email "[email protected]"
git config --local user.name "Your Name"
git add index.html
git commit -m "Actualizar archivo HTML"
git push origin main