Skip to content

Repair Landing pages #13

Repair Landing pages

Repair Landing pages #13

Workflow file for this run

name: Deploy VFT Reports to Pages
on:
push:
branches: [ main ] # Se activa cada vez que subes algo a main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: 📥 Checkout
uses: actions/checkout@v3
- name: 🐍 Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: 📦 Install dependencies
run: |
python -m pip install --upgrade pip
pip install "jupyter-book<2"
- name: 🏗️ Build the book
run: |
# Construye el libro mostrando todos los errores
jupyter-book build .
# Necesario para que GitHub Pages sirva carpetas con _ (_static, _images, etc.)
touch _build/html/.nojekyll
# Depuración: Lista los archivos para ver dónde quedó el _build
echo "--- REVISANDO CARPETAS GENERADAS ---"
ls -la
ls -la _build/ || echo "⚠️ No existe la carpeta _build en la raíz"
- name: 🚀 Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _build/html # Si tus archivos están en la raíz, aquí se genera
branch: gh-pages