diff --git a/.github/workflows/production_deployment.yml b/.github/workflows/production_deployment.yml index 10b647f9..92278a2c 100644 --- a/.github/workflows/production_deployment.yml +++ b/.github/workflows/production_deployment.yml @@ -34,9 +34,12 @@ jobs: - name: Update Image Tag run: | NEW_TAG="v$(git rev-parse --short HEAD)" - cd ${{ secrets.PROD_DEPLOY_REPO }}/${{ secrets.EKS_CLUSTER_NAME }}/integrations - kustomize edit set image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_netsuite-api=docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_netsuite-api:$NEW_TAG + cd ${{ secrets.PROD_DEPLOY_REPO }}/${{ secrets.US_EKS_CLUSTER_NAME }}/integrations + kustomize edit set image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_qbo-api=docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_qbo-api:$NEW_TAG + + cd ../../${{ secrets.IN_EKS_CLUSTER_NAME }}/integrations + kustomize edit set image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_qbo-api=docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_qbo-api:$NEW_TAG - name: Commit and push changes run: | cd ${{ secrets.PROD_DEPLOY_REPO }}/ @@ -64,4 +67,4 @@ jobs: sentry-cli releases finalize $SENTRY_RELEASE # Create new deploy for this Sentry release - sentry-cli releases deploys $SENTRY_RELEASE new -e $SENTRY_DEPLOY_ENVIRONMENT \ No newline at end of file + sentry-cli releases deploys $SENTRY_RELEASE new -e $SENTRY_DEPLOY_ENVIRONMENT