Merge branch 'main' of https://github.com/MarioC0093/Python_html_test #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:%s/^/# | ||
name: Generate HTML | ||
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 |