Skip to content

Commit

Permalink
fix: updated deploy (#2927)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fran McDade authored and Fran McDade committed Feb 28, 2024
1 parent 7303f5f commit 754f014
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions next/cc-anvilproject.consortia.dev-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rm -rf ./out
echo \"Deleting ./build/\"
rm -rf ./build

n 16.15.1
n 20.10.0
npm ci

mkdir -p build
Expand All @@ -20,4 +20,4 @@ export BUCKET=s3://uqc-anvilproject.dev.consortia/
export SRCDIR=build/

aws s3 sync $SRCDIR $BUCKET --delete --profile excira
aws cloudfront create-invalidation --distribution-id EYO1P4DTRZBCE --paths "/*" --profile excira
aws cloudfront create-invalidation --distribution-id EYO1P4DTRZBCE --paths "/*" --profile excira
4 changes: 2 additions & 2 deletions next/cgl-anvilproject.consortia.prod-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rm -rf ./out
echo \"Deleting ./build/\"
rm -rf ./build

n 16.15.1
n 20.10.0
npm ci

mkdir -p build
Expand All @@ -20,4 +20,4 @@ export BUCKET=s3://ptm-anvilproject.org.consortia/
export SRCDIR=build/

aws s3 sync $SRCDIR $BUCKET --delete --profile platform-anvil-portal
aws cloudfront create-invalidation --distribution-id E3PPAMUU6T4255 --paths "/*" --profile platform-anvil-portal
aws cloudfront create-invalidation --distribution-id E3PPAMUU6T4255 --paths "/*" --profile platform-anvil-portal

0 comments on commit 754f014

Please sign in to comment.