Skip to content

Pandoc Books Build #111

Pandoc Books Build

Pandoc Books Build #111

name: Pandoc Books Build
on:
workflow_dispatch:
inputs:
compileBook:
description: 'Which Book compile?'
required: true
default: 'ALL'
type: choice
options:
- ALL
- AWS
- AWS_docentes
- Como_hacer_documentacion
- Docker
- Git
- Laravel
- PFsense
- ASO
- SGBD
- Sistemas_Informaticos
- SGE
- Desarrollo_Interfaces
- Gestion_backups
- Instalar_Ubuntu_LTS
- Monitorizacion_Munin
- Ubuntu_RAID1
- Sistemas_Monitorizacion
- Virtualbox_networking
permissions:
contents: write
pages: write
id-token: write
jobs:
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Set up Git repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: build the PDF and HTML
uses: dante-ev/latex-action@latest
with:
entrypoint: ./build_pandoc.sh
env:
COMPILEBOOK: ${{inputs.compileBook}}
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: latest
files: |
otros/aws/aws.pdf
otros/aws_docentes/aws_docentes.pdf
otros/Docker/docker.pdf
otros/git/git.pdf
otros/hacer_documentacion/como_hacer_documentacion.pdf
otros/laravel/laravel.pdf
otros/PFsense/pfsense.pdf
ASIR/2/administracion_sistemas_operativos/aso.pdf
ASIR/2/SGBD/sgbd.pdf
DAM/1/sistemas_informaticos/si.pdf
DAM/2/desarrollo_interfaces/desarrollo_interfaces.pdf
DAM/2/sistemas_gestion_empresarial/sge.pdf
anexos/gestion_backups/gestion_backups.pdf
anexos/instalar_ubuntu_lts/instalar_ubuntu_lts.pdf
anexos/monitorizacion_munin/monitorizacion_munin.pdf
anexos/sistemas_monitorizacion/sistemas_monitorizacion.pdf
anexos/ubuntu_raid1/ubuntu_raid1.pdf
anexos/virtualbox_networking/virtualbox_networking.pdf
- name: Upload artifacts
uses: actions/upload-pages-artifact@v2
with:
path: './build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2