name: Deploy controllers on: push: branches: - develop jobs: upload: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Upload changed controller files uses: burnett01/rsync-deployments@7.0.2 with: switches: -avz path: ./application/controllers/ remote_path: /home/one/project/accone/one-api/application/controllers/ remote_host: accone.aplikasi.web.id remote_user: ${{ secrets.SERVER_USER }} remote_key: ${{ secrets.SERVER_SSH_KEY }} remote_key_pass: ${{ secrets.SERVER_SSH_KEY_PASSPHRASE }}