diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e2f3b02..8124382 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,8 +22,9 @@ jobs: deploy: needs: "publish" runs-on: "ubuntu-latest" - if: "github.ref == 'refs/heads/main'" steps: - - uses: "emortalmc/actions/k8s-sync@main" + - uses: "emortalmc/actions/argo-sync@main" with: - manifest-path: "deployment.yaml" + deployment-name: "mc-player-service" + values-path: "service/values/mc-player-service.yaml" + deployments-repo-token: "${{ secrets.DEPLOYMENTS_REPO_TOKEN }}"