Skip to content

Commit

Permalink
ci: deploy.sh 수정 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeseon-han authored Feb 20, 2024
1 parent 4ed24ef commit 514ca96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env bash

echo "> FE 배포"
sudo cp -rf /home/ubuntu/fridge-link-deploy/build/* /var/www/html

sudo fuser -k 80/tcp

cd /home/ubuntu/fridge-link-deploy

nohup yarn start &
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const nextConfig = {
images: {
domains: ['mara-s3bucket.s3.ap-northeast-2.amazonaws.com'],
},
distDir: 'build',
webpack: (config) => {
return {
...config,
Expand Down

0 comments on commit 514ca96

Please sign in to comment.