Skip to content

Commit

Permalink
Store GITHUB_PULL_REQUEST_ID (even if it's not used yet) + indent fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest committed Jan 21, 2021
1 parent 6fa4b55 commit 9ac7be5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-vercel-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
echo "Custom aliases: " $VERCEL_DEPLOYMENT_ALIASES_JSON
if [[ "$VERCEL_DEPLOYMENT_ALIASES_JSON" != "null" ]]; then
# Convert the JSON array into a bash array - See https://unix.stackexchange.com/a/615717/60329
# Convert the JSON array into a bash array - See https://unix.stackexchange.com/a/615717/60329
readarray -t VERCEL_DEPLOYMENT_ALIASES < <(jq --raw-output '.alias[]' < vercel.$CUSTOMER_REF_TO_DEPLOY.production.json)
# Count the number of element in the array, will be 0 if it's an empty array, or if the "alias" key wasn't defined
Expand Down Expand Up @@ -142,6 +142,7 @@ jobs:
VERCEL_DEPLOYMENT_URL=${{ env.VERCEL_DEPLOYMENT_URL }}
VERCEL_DEPLOYMENT_DOMAIN=${{ env.VERCEL_DEPLOYMENT_DOMAIN }}
MANUAL_TRIGGER_CUSTOMER=${{ env.MANUAL_TRIGGER_CUSTOMER }}
GITHUB_PULL_REQUEST_ID=${{ steps.pr_id_finder.outputs.number }}
# Waits for the Vercel deployment to reach "READY" state, so that other actions will be applied on a domain that is really online
await-for-vercel-deployment:
Expand Down

1 comment on commit 9ac7be5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.