File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ jobs:
1111 uses : actions/checkout@v4
1212 - uses : oven-sh/setup-bun@v2
1313 - uses : jongwooo/next-cache@v1
14- - name : Install and Build
14+ - name : Setup AWS CLI
15+ uses : aws-actions/configure-aws-credentials@v1
16+ with :
17+ aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
18+ aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
19+ aws-region : us-west-2
20+ - name : Build & Deploy
1521 run : |
1622 bun install --frozen-lockfile
17- bun run build
18- touch out/.nojekyll
19-
20- - name : Deploy 🚀
21- uses : JamesIves/github-pages-deploy-action@v4
22- with :
23- folder : out
23+ bun run deploy
Original file line number Diff line number Diff line change 44 "scripts" : {
55 "dev" : " next dev" ,
66 "build" : " next build && next-sitemap" ,
7- "start" : " next start"
8- } ,
9- "engines " : {
10- "node " : " >=20 "
7+ "start" : " next start" ,
8+ "deploy" : " bun run build && bun run deploy:prod:push && bun run deploy:prod:invalidate " ,
9+ "deploy:prod:push " : " aws s3 sync --delete ./out/ s3://apsis.io " ,
10+ "deploy:prod:invalidate " : " aws cloudfront create-invalidation --distribution-id E3WVG8TZYTCD --paths '/*' "
1111 },
1212 "repository" : {
1313 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments