Compare commits

...

2 commits

Author SHA1 Message Date
alvaro@thinkpad
bf0983a5bc con cat
All checks were successful
run-test-on-push / run-script (push) Successful in 29s
2026-05-16 13:24:21 +02:00
alvaro@thinkpad
38d9bf0fe2 más
All checks were successful
run-test-on-push / run-script (push) Successful in 34s
2026-05-16 13:20:24 +02:00
2 changed files with 15 additions and 2 deletions

7
convert-to-html-and-upload-to-apache.sh Normal file → Executable file
View file

@ -10,14 +10,17 @@ convert_to_html(){
# NOTA: FICHEROS SIN ESPACIOS EN LOS NOMBRES
for MD in $(ls *.md)
do
pandoc -o $MD.html $MD
local FILENAME="${MD%.*}"
pandoc -o $FILENAME.html $MD
done
}
upload(){
for HTML in $(ls *.md)
for HTML in $(ls *.html)
do
echo "::::::::::::::::::::::::::::::::::"
echo "USAR scp O ftp O CUALQUIER OTRA COSA PARA SUBIR LOS HTML A UN APACHE: $HTML"
cat $HTML
done
}

10
index.md Normal file
View file

@ -0,0 +1,10 @@
# Qué hace
Convierte todos los ficheros markdown del tag release-* a html y los sube a un apache.
# Qué más prodría hacer
- Leer una lista de usuarios y darles de alta
- Cambiar un wordpress con su cliente de línea de comandos
- Enviar emails o notificar por telegram
- Construir una aplicación (make) y subirla a un sitio de descargas
- Pasar los test de una aplicación