Compare commits

..

No commits in common. "bf0983a5bcafe938ca998d20c943846969bfcb96" and "7894311300d118013c3eb6ab4988a34aa2aaec58" have entirely different histories.

2 changed files with 2 additions and 15 deletions

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

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

View file

@ -1,10 +0,0 @@
# 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