Compare commits
No commits in common. "ea664b0c70539df45932f8a5153dfafc9fdc272d" and "2ae642e467629db9e830e10a4f760e26ef8bc8fd" have entirely different histories.
ea664b0c70
...
2ae642e467
3 changed files with 0 additions and 37 deletions
|
|
@ -1,19 +0,0 @@
|
|||
name: Deploy HTML
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:22.04
|
||||
volumes:
|
||||
- /srv/devops/data/apache/htdocs:/output
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Convertir y desplegar
|
||||
run: |
|
||||
chmod +x convertir.sh
|
||||
./convertir.sh
|
||||
12
convertir.sh
12
convertir.sh
|
|
@ -1,12 +0,0 @@
|
|||
-#!/bin/sh
|
||||
+#!/bin/bash
|
||||
+set -euo pipefail
|
||||
|
||||
- for MD in $(ls *.md)
|
||||
+ for md in *.md; do
|
||||
+ [ -f "$md" ] || continue
|
||||
|
||||
- echo "USAR scp O ftp O CUALQUIER OTRA COSA PARA SUBIR LOS HTML: $HTML"
|
||||
- cat $HTML
|
||||
+ cp "$html" /output/
|
||||
+ echo "https://portaljack.freeddns.org/${html}"
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
Hola.
|
||||
|
||||
|
||||
|
||||
\- Primer intento
|
||||
|
||||
Loading…
Reference in a new issue