11# [ENERGYCODE] (c) 2025
2- # Workflow para renderizar y desplegar el sitio Quarto
3- # - Render → GitHub Pages (automático en cada push a main y en workflow_dispatch )
4- # - Render → Netlify (se activa automáticamente por webhook si está configurado )
5- # Última actualización: diciembre 2025
2+ # Workflow to render and deploy the Quarto site
3+ # - Render → GitHub Pages (automatic on every push to main and manual dispatch )
4+ # - Render → Netlify (automatically triggered via webhook if configured )
5+ # Last updated: December 2025
66
77name : Publish Quarto site
88
2828 - name : Checkout repository
2929 uses : actions/checkout@v4
3030 with :
31- fetch-depth : 0 # necesario para que quarto detecte correctamente el history
31+ fetch-depth : 0 # Required for Quarto to correctly detect history
3232
3333 - name : Setup Quarto
3434 uses : quarto-dev/quarto-actions/setup@v2
4747 key : r-${{ runner.os }}-${{ hashFiles('packages.txt', 'DESCRIPTION', 'renv.lock') }}
4848 restore-keys : r-${{ runner.os }}-
4949
50- - name : Install system dependencies required by packages
50+ - name : Install all required system libraries
5151 run : |
5252 sudo apt-get update -qq
5353 sudo apt-get install -y --no-install-recommends \
5656 libxml2-dev \
5757 libpng-dev \
5858 libjpeg-dev \
59- libmagick++-dev
59+ libtiff-dev \
60+ libfreetype6-dev \
61+ libfontconfig1-dev \
62+ libharfbuzz-dev \
63+ libfribidi-dev \
64+ libcairo2-dev \
65+ libmagick++-dev \
66+ libmagick++-6.q16-dev
67+ echo "System libraries installed. Checking for Magick++..."
68+ ldconfig -p | grep Magick++ || echo "WARNING: libMagick++ not found in ldconfig"
6069
6170 - name : Install CRAN packages from packages.txt
6271 run : Rscript .github/install_packages.R
91100 run : pip install --no-cache-dir --quiet -r requirements.txt
92101
93102 - name : Check Quarto project
94- continue-on-error : true # No detiene el deploy si hay warnings menores
103+ continue-on-error : true # Does not stop deployment on minor warnings
95104 run : quarto check
96105
97106 - name : Render Quarto site
@@ -115,5 +124,5 @@ jobs:
115124 id : deployment
116125 uses : actions/deploy-pages@v4
117126
118- # Nota : Netlify se despliega automáticamente si tienes configurado el webhook
119- # o puedes añadir un paso manual con netlify-cli si lo prefieres
127+ # Note : Netlify deployment is triggered automatically if you have the webhook configured
128+ # Alternatively, you can add a manual step using netlify-cli if preferred
0 commit comments