1
0
Fork 0

path changes

This commit is contained in:
Matthias Kretschmann 2022-09-21 11:24:54 +01:00
parent 9ef2f96ff0
commit 0663c6ca93
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 4 additions and 4 deletions

View File

@ -18,8 +18,8 @@
"lint:md": "markdownlint './**/*.{md,markdown}' --ignore './{node_modules,public,.cache,.git,coverage}/**/*'", "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}'", "format": "prettier --ignore-path .gitignore --write '**/*.{js,jsx,ts,tsx,md,json,css}'",
"tsc": "tsc --noEmit", "tsc": "tsc --noEmit",
"deploy": "bash ./scripts/deploy-s3.sh", "deploy": "bash scripts/deploy-s3.sh",
"new": "ts-node ./scripts/new.ts" "new": "ts-node scripts/new.ts"
}, },
"browserslist": [ "browserslist": [
">0.2%", ">0.2%",

View File

@ -11,7 +11,7 @@ SITEMAP_URL="https%3A%2F%2Fkremalicious.com%2Fsitemap.xml"
set -e; set -e;
function s3sync { function s3sync {
aws s3 sync public/. s3://"$1" \ aws s3 sync ./public s3://"$1" \
--include "*" \ --include "*" \
--exclude "*.html" \ --exclude "*.html" \
--exclude "sw.js" \ --exclude "sw.js" \
@ -28,7 +28,7 @@ function s3sync {
--delete \ --delete \
--acl public-read --acl public-read
aws s3 sync public/. s3://"$1" \ aws s3 sync ./public s3://"$1" \
--exclude "*" \ --exclude "*" \
--include "*.html" \ --include "*.html" \
--include "sw.js" \ --include "sw.js" \