fix: zola workflow
This commit is contained in:
parent
603479726a
commit
4c565307ee
1 changed files with 13 additions and 2 deletions
|
|
@ -9,8 +9,19 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|
||||||
- name: Build con Nix
|
- name: Instalar Zola y Construir
|
||||||
run: nix-shell -p zola --run "zola build"
|
run: |
|
||||||
|
# 1. Descargar Zola (versión estática para Linux)
|
||||||
|
curl -L https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz -o zola.tar.gz
|
||||||
|
|
||||||
|
# 2. Descomprimir
|
||||||
|
tar -xzf zola.tar.gz
|
||||||
|
|
||||||
|
# 3. Dar permisos de ejecución (por si acaso)
|
||||||
|
chmod +x zola
|
||||||
|
|
||||||
|
# 4. Construir usando el binario local (./zola)
|
||||||
|
./zola build
|
||||||
|
|
||||||
- name: Nginx
|
- name: Nginx
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue