Compare commits
No commits in common. "main" and "release-001" have entirely different histories.
main
...
release-00
2 changed files with 2 additions and 15 deletions
7
convert-to-html-and-upload-to-apache.sh
Executable file → Normal file
7
convert-to-html-and-upload-to-apache.sh
Executable file → Normal file
|
|
@ -10,17 +10,14 @@ convert_to_html(){
|
|||
# NOTA: FICHEROS SIN ESPACIOS EN LOS NOMBRES
|
||||
for MD in $(ls *.md)
|
||||
do
|
||||
local FILENAME="${MD%.*}"
|
||||
pandoc -o $FILENAME.html $MD
|
||||
pandoc -o $MD.html $MD
|
||||
done
|
||||
}
|
||||
|
||||
upload(){
|
||||
for HTML in $(ls *.html)
|
||||
for HTML in $(ls *.md)
|
||||
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
10
index.md
|
|
@ -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
|
||||
|
||||
Loading…
Reference in a new issue