Update .gitea/workflows/gitops-automatic-deployment.yml
This commit is contained in:
@@ -19,7 +19,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy Repository Data to Production Server
|
- name: Copy Repository Data to Production Server
|
||||||
run: |
|
run: |
|
||||||
rsync -a --delete --exclude='.git/' --exclude='.gitea/' . /Gitops_Destination/
|
rsync -a --delete \
|
||||||
|
--exclude='.git/' \
|
||||||
|
--exclude='.gitea/' \
|
||||||
|
--exclude='assets/' \
|
||||||
|
--exclude='schema/' \
|
||||||
|
--exclude='stylesheets/' \
|
||||||
|
--exclude='schema.json' \
|
||||||
|
. /Gitops_Destination/
|
||||||
|
|
||||||
- name: Trigger Material MKDocs Container Re-Deployment
|
- name: Trigger Material MKDocs Container Re-Deployment
|
||||||
run: |
|
run: |
|
||||||
@@ -30,7 +37,7 @@ jobs:
|
|||||||
- name: Notify via NTFY
|
- name: Notify via NTFY
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
curl -d "https://docs.bunny-lab.io - MKDocs workflow completed" https://ntfy.bunny-lab.io/gitea-runners
|
curl -d "https://docs.bunny-lab.io - MKDocs job status: ${{ job.status }}" https://ntfy.bunny-lab.io/gitea-runners
|
||||||
|
|
||||||
zensical_deploy:
|
zensical_deploy:
|
||||||
name: Sync Docs to https://kb.bunny-lab.io
|
name: Sync Docs to https://kb.bunny-lab.io
|
||||||
@@ -45,6 +52,10 @@ jobs:
|
|||||||
rsync -rlD --delete \
|
rsync -rlD --delete \
|
||||||
--exclude='.git/' \
|
--exclude='.git/' \
|
||||||
--exclude='.gitea/' \
|
--exclude='.gitea/' \
|
||||||
|
--exclude='assets/' \
|
||||||
|
--exclude='schema/' \
|
||||||
|
--exclude='stylesheets/' \
|
||||||
|
--exclude='schema.json' \
|
||||||
--chmod=D2775,F664 \
|
--chmod=D2775,F664 \
|
||||||
. /srv/zensical/docs/
|
. /srv/zensical/docs/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user