diff --git a/package-lock.json b/package-lock.json index 7d0e32ef..f568020d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -59483,7 +59483,7 @@ "nord-visual-studio-code": { "version": "git+ssh://git@github.com/arcticicestudio/nord-visual-studio-code.git#69b80f5196b8c3feb6df7f67e4225adb3040e3fb", "integrity": "sha512-5G0/5Y/Tfewgs6yTbkpc6nLJpoHYSakscUV5RdgLDH5vT3O5IIQeP+SV3QkIkfTErCLzFvF0OULC1dRjAGfarA==", - "from": "nord-visual-studio-code@github:arcticicestudio/nord-visual-studio-code#69b80f5196b8c3feb6df7f67e4225adb3040e3fb" + "from": "nord-visual-studio-code@github:arcticicestudio/nord-visual-studio-code" }, "normalize-package-data": { "version": "2.5.0", diff --git a/package.json b/package.json index 7a497d3e..90b356ab 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "lint:md": "markdownlint './**/*.{md,markdown}' --ignore './{node_modules,public,.cache,.git,coverage}/**/*'", "format": "prettier --ignore-path .gitignore --write '**/*.{js,jsx,ts,tsx,md,json,css}'", "tsc": "tsc --noEmit", - "deploy": "./scripts/deploy-s3.sh", + "deploy": "bash ./scripts/deploy-s3.sh", "new": "ts-node ./scripts/new.ts" }, "browserslist": [ diff --git a/scripts/deploy-s3.sh b/scripts/deploy-s3.sh index c755c793..e5f3b864 100755 --- a/scripts/deploy-s3.sh +++ b/scripts/deploy-s3.sh @@ -11,7 +11,7 @@ SITEMAP_URL="https%3A%2F%2Fkremalicious.com%2Fsitemap.xml" set -e; function s3sync { - aws s3 sync ./public s3://"$1" \ + aws s3 sync public/. s3://"$1" \ --include "*" \ --exclude "*.html" \ --exclude "sw.js" \ @@ -28,7 +28,7 @@ function s3sync { --delete \ --acl public-read - aws s3 sync ./public s3://"$1" \ + aws s3 sync public/. s3://"$1" \ --exclude "*" \ --include "*.html" \ --include "sw.js" \