Skip to content

Commit

Permalink
Fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest committed Oct 17, 2020
1 parent 2d70779 commit b73e68c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-zeit-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
echo "Vercel deployments for current team: " $ALL_ZEIT_DEPLOYMENTS
# Filter deployments by their "name" property in order to consider only deployments related to the current project
ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT=`echo $ALL_ZEIT_DEPLOYMENTS | jq 'first(.deployments[] | [select(.name == "$VERCEL_PROJECT_NAME")])'`
ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT=`echo $ALL_ZEIT_DEPLOYMENTS | jq 'first(.deployments[] | [select(.name == "$VERCEL_PROJECT_NAME")])[]'`
echo "Latest Vercel deployment for current project: " $ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT
# Extract the first element (which is the latest vercel deployment), and strip the double quotes from its value
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
echo "Vercel deployments for current team: " $ALL_ZEIT_DEPLOYMENTS
# Filter deployments by their "name" property in order to consider only deployments related to the current project
ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT=`echo $ALL_ZEIT_DEPLOYMENTS | jq 'first(.deployments[] | [select(.name == "$VERCEL_PROJECT_NAME")])'`
ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT=`echo $ALL_ZEIT_DEPLOYMENTS | jq 'first(.deployments[] | [select(.name == "$VERCEL_PROJECT_NAME")])[]'`
echo "Latest Vercel deployment for current project: " $ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT
# Extract the first element (which is the latest vercel deployment), and strip the double quotes from its value
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-zeit-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
echo "Vercel deployments for current team: " $ALL_ZEIT_DEPLOYMENTS
# Filter deployments by their "name" property in order to consider only deployments related to the current project
ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT=`echo $ALL_ZEIT_DEPLOYMENTS | jq 'first(.deployments[] | [select(.name == "$VERCEL_PROJECT_NAME")])'`
ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT=`echo $ALL_ZEIT_DEPLOYMENTS | jq 'first(.deployments[] | [select(.name == "$VERCEL_PROJECT_NAME")])[]'`
echo "Latest Vercel deployment for current project: " $ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT
# Extract the first element (which is the latest vercel deployment), and strip the double quotes from its value
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
echo "Vercel deployments for current team: " $ALL_ZEIT_DEPLOYMENTS
# Filter deployments by their "name" property in order to consider only deployments related to the current project
ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT=`echo $ALL_ZEIT_DEPLOYMENTS | jq 'first(.deployments[] | [select(.name == "$VERCEL_PROJECT_NAME")])'`
ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT=`echo $ALL_ZEIT_DEPLOYMENTS | jq 'first(.deployments[] | [select(.name == "$VERCEL_PROJECT_NAME")])[]'`
echo "Latest Vercel deployment for current project: " $ZEIT_LATEST_DEPLOYMENT_FOR_CURRENT_PROJECT
# Extract the first element (which is the latest vercel deployment), and strip the double quotes from its value
Expand Down

0 comments on commit b73e68c

Please sign in to comment.