Files
docs/.gitea/workflows/gitops-automatic-deployment.yml
Nicole Rappe 410efa2d4e
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 8s
Update .gitea/workflows/gitops-automatic-deployment.yml
2025-07-01 16:08:11 -06:00

25 lines
652 B
YAML

name: GitOps Automatic Deployment
on:
push:
branches: [ main ]
jobs:
GitOps Automatic Deployment:
runs-on: gitea-runner-mkdocs
steps:
- name: Install Node.js, git, rsync, and curl
run: |
apk add --no-cache nodejs npm git rsync curl
- name: Checkout Repository
uses: actions/checkout@v3
- name: Copy Repository Data to Production Server
run: |
rsync -a --delete --exclude='.git/' . /Gitops_Destination/
- name: Notify via NTFY
run: |
curl -H "prio:high" -d "https://docs.bunny-lab.io - Workflow Completed" https://ntfy.bunny-lab.io/gitea-runners