diff --git a/.gitea/workflows/gitops-automatic-deployment.yml b/.gitea/workflows/gitops-automatic-deployment.yml index 4395a2a..eb41395 100644 --- a/.gitea/workflows/gitops-automatic-deployment.yml +++ b/.gitea/workflows/gitops-automatic-deployment.yml @@ -19,7 +19,14 @@ jobs: - name: Copy Repository Data to Production Server 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 run: | @@ -30,7 +37,7 @@ jobs: - name: Notify via NTFY if: always() 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: name: Sync Docs to https://kb.bunny-lab.io @@ -45,6 +52,10 @@ jobs: rsync -rlD --delete \ --exclude='.git/' \ --exclude='.gitea/' \ + --exclude='assets/' \ + --exclude='schema/' \ + --exclude='stylesheets/' \ + --exclude='schema.json' \ --chmod=D2775,F664 \ . /srv/zensical/docs/