From 5a0bec88378914c1b83f84899e146425177e5739 Mon Sep 17 00:00:00 2001 From: natxocc Date: Wed, 15 Apr 2026 12:12:50 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20.github/workflows/deploy-docs.yam?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/deploy-docs.yaml diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml new file mode 100644 index 0000000..6424f1c --- /dev/null +++ b/.github/workflows/deploy-docs.yaml @@ -0,0 +1,20 @@ +name: Deploy Docs to Web Station +on: + push: + branches: + - main + paths: + - 'docs/**' # Solo se dispara si cambias algo dentro de la carpeta docs + +jobs: + deploy: + runs-on: self-hosted # Tu runner debe tener esta etiqueta + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Sincronizar archivos + run: | + # Copia el contenido de /docs del repo a la carpeta de Web Station + # rsync es ideal porque solo copia lo que ha cambiado + rsync -av --delete docs/ /volume1/web/sigpro/ \ No newline at end of file