From a3d2ead31bea9e3dcbfd09d1cbc7e454b407c58a Mon Sep 17 00:00:00 2001 From: ruuushhh <66899387+ruuushhh@users.noreply.github.com> Date: Fri, 10 May 2024 16:55:27 +0530 Subject: [PATCH] Move integrations inside staging (#360) --- .github/workflows/staging_deployment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/staging_deployment.yml b/.github/workflows/staging_deployment.yml index 1ff2c25a..8f81fcc9 100644 --- a/.github/workflows/staging_deployment.yml +++ b/.github/workflows/staging_deployment.yml @@ -40,7 +40,7 @@ jobs: - name: Update Image Tag run: | NEW_TAG="v$(git rev-parse --short HEAD)" - cd ${{ vars.STAGING_DEPLOY_REPO }}/${{ vars.STAGING_DEPLOY_DIR }}/integrations + cd ${{ vars.STAGING_DEPLOY_REPO }}/${{ vars.STAGING_DEPLOY_DIR }}/staging/integrations kustomize edit set image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_xero-api=docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_xero-api:$NEW_TAG - name: Commit and push changes @@ -49,7 +49,7 @@ jobs: git config --global user.email "integrations@fylehq.com" git config --global user.name "GitHub Actions" git add . - git commit -m "Update image tag" + git commit -m "Deployed xero-api:$NEW_TAG to staging" git remote set-url origin https://x-access-token:${{ secrets.DEPLOY_GIT_ACCESS_TOKEN }}@github.com/${{ vars.STAGING_DEPLOY_REPO }} git pull origin master git push origin master