From 1a719743baec70bed49862ba4df22d448feb089d Mon Sep 17 00:00:00 2001 From: ruuushhh <66899387+ruuushhh@users.noreply.github.com> Date: Fri, 10 May 2024 16:57:24 +0530 Subject: [PATCH] Move integrations inside staging (#606) --- .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 61e439a3..4aa3e510 100644 --- a/.github/workflows/staging_deployment.yml +++ b/.github/workflows/staging_deployment.yml @@ -39,7 +39,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_qbo-api=docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_qbo-api:$NEW_TAG - name: Commit and push changes run: | @@ -47,7 +47,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 quickbooks-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