From 50042e1c65c954a005af27296c9f5b9ea3614292 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Mon, 26 Jan 2026 17:59:42 -0700 Subject: [PATCH] Update .gitea/workflows/gitops-automatic-deployment.yml --- .../workflows/gitops-automatic-deployment.yml | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/gitops-automatic-deployment.yml b/.gitea/workflows/gitops-automatic-deployment.yml index 1a94d13..6136ebb 100644 --- a/.gitea/workflows/gitops-automatic-deployment.yml +++ b/.gitea/workflows/gitops-automatic-deployment.yml @@ -5,7 +5,8 @@ on: branches: [ main ] jobs: - GitOps Automatic Deployment: + mkdocs_deploy: + name: Deploy MKDocs (existing) runs-on: gitea-runner-mkdocs steps: @@ -29,4 +30,24 @@ jobs: - name: Notify via NTFY if: always() run: | - curl -d "https://docs.bunny-lab.io - Workflow Completed" https://ntfy.bunny-lab.io/gitea-runners + curl -d "https://docs.bunny-lab.io - MKDocs workflow completed" https://ntfy.bunny-lab.io/gitea-runners + + zensical_deploy: + name: Deploy Zensical (new) + runs-on: [self-hosted, zensical-host] + + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Sync repository into /srv/zensical/docs + run: | + sudo rsync -a --delete \ + --exclude='.git/' \ + --exclude='.gitea/' \ + . /srv/zensical/docs/ + + - name: Notify via NTFY + if: always() + run: | + curl -d "https://kb.bunny-lab.io - Zensical sync completed" https://ntfy.bunny-lab.io/gitea-runners