Compare commits
No commits in common. "bf0983a5bcafe938ca998d20c943846969bfcb96" and "7894311300d118013c3eb6ab4988a34aa2aaec58" have entirely different histories.
bf0983a5bc
...
7894311300
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