Update .gitea/workflows/gitops-automatic-deployment.yml
Some checks failed
GitOps Automatic Deployment / Deploy MKDocs (existing) (push) Successful in 6s
GitOps Automatic Deployment / Deploy Zensical (new) (push) Has been cancelled

This commit is contained in:
2026-01-26 17:59:42 -07:00
parent 56dce8df74
commit 50042e1c65

View File

@@ -5,7 +5,8 @@ on:
branches: [ main ] branches: [ main ]
jobs: jobs:
GitOps Automatic Deployment: mkdocs_deploy:
name: Deploy MKDocs (existing)
runs-on: gitea-runner-mkdocs runs-on: gitea-runner-mkdocs
steps: steps:
@@ -29,4 +30,24 @@ jobs:
- name: Notify via NTFY - name: Notify via NTFY
if: always() if: always()
run: | 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