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