From 9f99e55e0c488237e208173fd505b6a5202de8be Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Fri, 16 May 2025 15:52:47 -0600 Subject: [PATCH] Added Gitea Runner for Automated GitOps Deployment --- .../workflows/gitops-automatic-deployment.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitea/workflows/gitops-automatic-deployment.yml diff --git a/.gitea/workflows/gitops-automatic-deployment.yml b/.gitea/workflows/gitops-automatic-deployment.yml new file mode 100644 index 0000000..054fc76 --- /dev/null +++ b/.gitea/workflows/gitops-automatic-deployment.yml @@ -0,0 +1,17 @@ +name: GitOps Automatic Deployment + +on: + push: + branches: [ main ] + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Rsync to GitOps Folder Target + run: | + rsync -av --delete --exclude '.git/' ./ /Gitops_Destination/ \ No newline at end of file