name: GitOps Automatic Deployment on: push: branches: [ main ] jobs: GitOps Automatic Deployment: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v3 - name: Install rsync run: | apt-get update apt-get install -y rsync - name: Rsync to GitOps Folder Target run: | rsync -av --delete --exclude '.git/' ./ /Gitops_Destination/