File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ jobs:
185185 # Deployment to production folder in S3 bucket
186186 deploy_to_production :
187187 runs-on : ubuntu-latest
188- if : github.ref == 'refs/heads/main' # Run for main branch
188+ # if: github.ref == 'refs/heads/main' # Run for main branch
189189 steps :
190190 - name : configure aws credentials
191191 uses : aws-actions/configure-aws-credentials@v2
@@ -211,7 +211,9 @@ jobs:
211211 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
212212 run : |
213213 echo "inside pr_number=$PR_NUMBER"
214- echo "Before pr_number=$PR_NUMBER"
214+ echo "Before pr_number=$PR_NUMBER"
215+ PR='${{ steps.pr.outputs.PR_NUMBER }}'
216+ echo "USING PR =$PR"
215217
216218 PR_API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/commits/${GITHUB_SHA}/pulls"
217219 PR_NUMBER=$(curl -s -H "Accept: application/vnd.github.groot-preview+json" \
You can’t perform that action at this time.
0 commit comments