From 9a054cc15518e0892d7d3781b27d2688113d6d56 Mon Sep 17 00:00:00 2001 From: Andrew Munro Date: Wed, 21 Jun 2023 14:02:26 +0000 Subject: [PATCH] Update deploy job --- .github/workflows/build-and-push.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index e5adb47..5238686 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -27,4 +27,24 @@ jobs: uses: docker/build-push-action@v4 with: push: true - tags: ghcr.io/${{ github.repository }}:${{ env.TAG }} \ No newline at end of file + tags: ghcr.io/${{ github.repository }}:${{ env.TAG }} + + - name: deploy-dev + uses: th0th/rancher-redeploy-workload@v0.9 + env: + RANCHER_BEARER_TOKEN: ${{ secrets.RANCHER_BEARER_TOKEN }} + RANCHER_URL: 'https://rancher.mun.sh' + RANCHER_CLUSTER_ID: 'local' + RANCHER_PROJECT_ID: 'p-vdwsg' + RANCHER_NAMESPACE: 'default' + RANCHER_WORKLOADS: 'rgb' + + - name: deploy-dev + uses: th0th/rancher-redeploy-workload@v0.9 + env: + RANCHER_BEARER_TOKEN: ${{ secrets.RANCHER_BEARER_TOKEN }} + RANCHER_URL: 'https://rancher.mun.sh' + RANCHER_CLUSTER_ID: 'local' + RANCHER_PROJECT_ID: 'p-vdwsg' + RANCHER_NAMESPACE: 'default' + RANCHER_WORKLOADS: 'rgb-browser' \ No newline at end of file