Skip to content

Commit

Permalink
fix: force-redeploy on
Browse files Browse the repository at this point in the history
  • Loading branch information
abelr20 committed Aug 22, 2024
1 parent 10a1941 commit 28893a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ jobs:
set -e
set -o pipefail
# Update the ECS service
aws ecs update-service --cluster ${{ env.ECS_CLUSTER }} --service ${{ env.ECS_SERVICE }}
aws ecs update-service --cluster ${{ env.ECS_CLUSTER }} --service ${{ env.ECS_SERVICE }} --force-new-deployment
1 change: 1 addition & 0 deletions client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const config = {
new HtmlWebpackPlugin({
template: './client/public/index.html',
filename: 'index.html',
favicon: './client/public/favicon.ico',
}),
new MiniCssExtractPlugin({
filename: 'bundle.css',
Expand Down
2 changes: 1 addition & 1 deletion server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const PORT = process.env.NODE_ENV === 'production' ? process.env.PROD_PORT : 808
app.use(cors());
app.use(express.json());

app.use(favicon(path.join(__dirname, '../../client/public/favicon.ico')));
app.use(favicon(path.join(__dirname, '../../client/dist/favicon.ico')));

app.use(express.static(path.join(__dirname, '../../client/dist')));

Expand Down

0 comments on commit 28893a4

Please sign in to comment.