From 2fb2c089b76f0078d046e73ac3c1e64cf2a934ac Mon Sep 17 00:00:00 2001 From: Eric Brelsford Date: Wed, 22 Nov 2023 13:38:16 -0500 Subject: [PATCH] Update deploy location --- .github/workflows/deploy-to-s3.yml | 4 ++-- vacs-map-app/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-to-s3.yml b/.github/workflows/deploy-to-s3.yml index f9f9efb..8eb80d8 100644 --- a/.github/workflows/deploy-to-s3.yml +++ b/.github/workflows/deploy-to-s3.yml @@ -27,7 +27,7 @@ jobs: - name: Copy to S3 working-directory: vacs-map-app run: | - aws s3 sync dist s3://stories2.theplotline.org/vacs/ --delete + aws s3 sync dist s3://vacs.theplotline.org/ --delete - name: Clear Cloudfront cache run: | - aws cloudfront create-invalidation --distribution-id $cloudfront_distribution --paths '/vacs/*' + aws cloudfront create-invalidation --distribution-id $cloudfront_distribution --paths '/*' diff --git a/vacs-map-app/package.json b/vacs-map-app/package.json index b6248ff..442171b 100644 --- a/vacs-map-app/package.json +++ b/vacs-map-app/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "vite", "build": "vite build", - "build-staging": "vite build --base=/vacs/", + "build-staging": "vite build", "preview": "vite preview", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore", "format": "prettier --write src/"