mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
path changes
This commit is contained in:
parent
9ef2f96ff0
commit
0663c6ca93
@ -18,8 +18,8 @@
|
||||
"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": "bash ./scripts/deploy-s3.sh",
|
||||
"new": "ts-node ./scripts/new.ts"
|
||||
"deploy": "bash scripts/deploy-s3.sh",
|
||||
"new": "ts-node scripts/new.ts"
|
||||
},
|
||||
"browserslist": [
|
||||
">0.2%",
|
||||
|
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user