From d56d488b3b3715c21303762c3db80db8459568f1 Mon Sep 17 00:00:00 2001 From: Speculor Date: Thu, 3 Mar 2022 13:56:29 -0400 Subject: [PATCH] Update alpha.yaml --- .github/workflows/alpha.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/alpha.yaml b/.github/workflows/alpha.yaml index 73e89b9b0..922e3910f 100644 --- a/.github/workflows/alpha.yaml +++ b/.github/workflows/alpha.yaml @@ -114,14 +114,14 @@ jobs: aws-region: us-east-1 - name: Deploy static site to S3 - run: ls -l && aws s3 sync . s3://alpha-alphauniversexyz-origin --delete + run: ls -l && aws s3 sync . s3://marketplace-marketplacealphauniversexyz-origin --delete - name: Invalidate CloudFront cache run: | #!/usr/bin/env bash set -eou pipefail - CF_DIST_ID=$(aws cloudfront list-distributions --query "DistributionList.Items[?Aliases.Items!=null] | [?contains(Aliases.Items, 'alpha.universe.xyz')].Id | [0]" | tr -d \") + CF_DIST_ID=$(aws cloudfront list-distributions --query "DistributionList.Items[?Aliases.Items!=null] | [?contains(Aliases.Items, 'marketplace.alpha.universe.xyz')].Id | [0]" | tr -d \") echo "Clearing cache for ${CF_DIST_ID}..." CF_INVALIDATION_ID=$(aws cloudfront create-invalidation --distribution-id ${CF_DIST_ID} --paths "/*" | jq -r '.Invalidation.Id') while [ $(aws cloudfront get-invalidation --distribution-id ${CF_DIST_ID} --id ${CF_INVALIDATION_ID} | jq -r '.Invalidation.Status') != "Completed" ]; do