From 9a79ed55b5c38be723eb23e7978f837d410ef7a2 Mon Sep 17 00:00:00 2001 From: ruuushhh Date: Thu, 9 May 2024 16:49:19 +0530 Subject: [PATCH] move-integrations-inside-staging --- .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 8cb5484..7872217 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_partner_dashboard-app=docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_partner_dashboard-app:$NEW_TAG - name: Commit and push changes @@ -49,6 +49,6 @@ 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 partner-dashboard-app:$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 push origin master