Skip to content

Commit

Permalink
Merge pull request #17 from LandvibeDev/fix/deployment
Browse files Browse the repository at this point in the history
Reviewed by: @so3500 
Close: #16
  • Loading branch information
raccoonback authored Aug 26, 2020
2 parents 83f843f + 57ca50c commit 04e23e6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 99 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: ${{ secrets.AWS_ECS_GRADLE_SERVICE }}
service: ${{ secrets.AWS_ECS_NGINX_SERVICE }}
cluster: ${{ secrets.AWS_ECS_CLUSTER }}
wait-for-service-stability: true
2 changes: 1 addition & 1 deletion .github/workflows/webchat.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Web-Chat
name: webchat
on:
push:
branches: [ master ]
Expand Down
1 change: 0 additions & 1 deletion nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# docker run --name nginx -d -p 8080:80 -v front:/front:ro --link web-chat nginx
FROM nginx

COPY mime.types /etc/nginx/conf/mime.types
COPY nginx.conf /etc/nginx/nginx.conf
96 changes: 0 additions & 96 deletions nginx/mime.types

This file was deleted.

2 changes: 2 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ http {
root /front;
server {
listen 80;
charset utf-8;

location / {
etag on;
if_modified_since before;
Expand Down

0 comments on commit 04e23e6

Please sign in to comment.