Skip to content

Commit

Permalink
test delete review app
Browse files Browse the repository at this point in the history
  • Loading branch information
Neill Turner committed Nov 11, 2024
1 parent ea94613 commit 743bbe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/delete-review-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ jobs:
TFSTATE_CONTAINER_ACCESS_KEY="$(az storage account keys list -g ${{ env.RESOURCE_GROUP_NAME }} -n ${{ env.STORAGE_ACCOUNT_NAME }} | jq -r '.[0].value')"
echo "::add-mask::$TFSTATE_CONTAINER_ACCESS_KEY"
echo "TFSTATE_CONTAINER_ACCESS_KEY=$TFSTATE_CONTAINER_ACCESS_KEY" >> $GITHUB_ENV
pr_state_file=$(az storage blob list -c ${{ env.CONTAINER_NAME }} \
pr_state_file="$(az storage blob list -c ${{ env.CONTAINER_NAME }} \
--account-key $TFSTATE_CONTAINER_ACCESS_KEY }} \
--account-name ${{ env.STORAGE_ACCOUNT_NAME }} \
--prefix $TF_STATE_FILE --query "[].name" -o tsv)
--prefix $TF_STATE_FILE --query '[].name' -o tsv)"
if [ -n "$pr_state_file" ]; then
echo "TF_STATE_EXISTS=true" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit 743bbe6

Please sign in to comment.