Compare commits

..

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

2 changed files with 0 additions and 60 deletions

View file

@ -1,27 +0,0 @@
name: run-test-on-push
on:
push:
tags:
- release-*
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Run script 1
run: uname -a
- name: Run script 2
run: date
- name: Run script 3
run: whoami
- name: Run script 4
run: pwd
- name: Run script 5
run: hostname -I
- name: Run script 6
run: hostname
- name: Run script 7
run: env
- uses: actions/checkout@v4
- name: Run a script of repository
run: ./convert-to-html-and-upload-to-apache.sh

View file

@ -1,33 +0,0 @@
#!/bin/sh
dependencies(){
apt update
apt install -y pandoc
}
convert_to_html(){
# NOTA: FICHEROS SIN ESPACIOS EN LOS NOMBRES
for MD in $(ls *.md)
do
pandoc -o $MD.html $MD
done
}
upload(){
for HTML in $(ls *.md)
do
echo "USAR scp O ftp O CUALQUIER OTRA COSA PARA SUBIR LOS HTML A UN APACHE: $HTML"
done
}
main(){
dependencies
convert_to_html
upload
}
main