Update services/documentation/zensical.md
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
This commit is contained in:
@@ -294,8 +294,8 @@ sudo systemctl enable --now gitea-runner.service
|
|||||||
### Repository Workflow
|
### Repository Workflow
|
||||||
Place the following file into your documentation repository at the given location and this will enable the runner to execute when changes happen to the repository data.
|
Place the following file into your documentation repository at the given location and this will enable the runner to execute when changes happen to the repository data.
|
||||||
|
|
||||||
```yaml title="gitea/workflows/gitops-automatic-deployment.yml"
|
```yaml title="gitea/workflows/automatic-deployment.yml"
|
||||||
name: GitOps Automatic Documentation Deployment
|
name: Automatic Documentation Deployment
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -310,6 +310,9 @@ jobs:
|
|||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Stop Zensical Service
|
||||||
|
run: sudo /usr/bin/systemctl stop zensical-watchdog.service
|
||||||
|
|
||||||
- name: Sync repository into /srv/zensical/docs
|
- name: Sync repository into /srv/zensical/docs
|
||||||
run: |
|
run: |
|
||||||
rsync -rlD --delete \
|
rsync -rlD --delete \
|
||||||
@@ -322,10 +325,14 @@ jobs:
|
|||||||
--chmod=D2775,F664 \
|
--chmod=D2775,F664 \
|
||||||
. /srv/zensical/docs/
|
. /srv/zensical/docs/
|
||||||
|
|
||||||
|
- name: Start Zensical Service
|
||||||
|
run: sudo /usr/bin/systemctl start zensical-watchdog.service
|
||||||
|
|
||||||
- name: Notify via NTFY
|
- name: Notify via NTFY
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
curl -d "https://kb.bunny-lab.io - Zensical job status: ${{ job.status }}" https://ntfy.bunny-lab.io/gitea-runners
|
curl -d "https://kb.bunny-lab.io - Zensical job status: ${{ job.status }}" https://ntfy.bunny-lab.io/gitea-runners
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Traefik Reverse Proxy
|
## Traefik Reverse Proxy
|
||||||
|
|||||||
Reference in New Issue
Block a user