Update .gitea/workflows/gitops-automatic-deployment.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user