Compare commits
2 commits
release-00
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf0983a5bc | ||
|
|
38d9bf0fe2 |
2 changed files with 15 additions and 2 deletions
7
convert-to-html-and-upload-to-apache.sh
Normal file → Executable file
7
convert-to-html-and-upload-to-apache.sh
Normal file → Executable file
|
|
@ -10,14 +10,17 @@ 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
|
||||||
pandoc -o $MD.html $MD
|
local FILENAME="${MD%.*}"
|
||||||
|
pandoc -o $FILENAME.html $MD
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
upload(){
|
upload(){
|
||||||
for HTML in $(ls *.md)
|
for HTML in $(ls *.html)
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
10
index.md
Normal file
10
index.md
Normal 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
|
||||||
|
|
||||||
Loading…
Reference in a new issue