Skip to content

Commit

Permalink
build: update deployment command to remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesx00 committed Dec 17, 2024
1 parent 1cccbfb commit bfa0a1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tw:watch": "tailwindcss -i public/css/tailwind.input.css -o public/css/tailwind.css --watch",
"debugstart": "DEBUG=Eleventy* npx @11ty/eleventy --serve --quiet",
"benchmark": "DEBUG=Eleventy:Benchmark* npx @11ty/eleventy",
"s3:sync": "aws s3 sync _site/ s3://pythonexpert-web/static",
"s3:sync": "aws s3 sync _site/ s3://pythonexpert-web/static --delete",
"cloudfront:clearCache": "aws cloudfront create-invalidation --distribution-id E1WZICBZJ43601 --path \"/*\"",
"deploy": "rm -rf _site && npm run build && npm run s3:sync && npm run cloudfront:clearCache"
},
Expand Down Expand Up @@ -44,4 +44,4 @@
"tailwind-highlightjs": "^2.0.1",
"typed.js": "^2.1.0"
}
}
}

0 comments on commit bfa0a1f

Please sign in to comment.