diff --git a/.github/workflows/prod-deploy.yml b/.github/workflows/prod-deploy.yml index aa95697..52e0808 100644 --- a/.github/workflows/prod-deploy.yml +++ b/.github/workflows/prod-deploy.yml @@ -12,7 +12,7 @@ permissions: read-all jobs: build: - name: Build image + name: Deploy Shopify Tracker Image on production runs-on: ubuntu-latest steps: @@ -40,22 +40,23 @@ jobs: with: img_tag: rudder-shopify-tracker:${{steps.get-version.outputs.version}} - - name: Extract branch name - id: extract_branch_name - run: | - branch_name=$(git rev-parse --abbrev-ref HEAD) - echo "branch_name=$branch_name" - echo "branch_name=$branch_name" >> $GITHUB_OUTPUT - - name: Initialize Mandatory Git Config run: | git config --global user.name "GitHub Actions" git config --global user.email "noreply@github.com" - + - name: Clone Devops Repo run: | git clone https://${{secrets.PAT}}@github.com/rudderlabs/rudder-devops.git + - name: Extract branch name + id: extract_branch_name + run: | + cd rudder-devops + branch_name=$(git rev-parse --abbrev-ref HEAD) + echo "branch_name=$branch_name" + echo "branch_name=$branch_name" >> $GITHUB_OUTPUT + - name: Update Helm Chart and Raise Pull Request For Shopify Tracker env: GITHUB_TOKEN: ${{ secrets.PAT }}