Skip to content

Commit

Permalink
Added a account to free
Browse files Browse the repository at this point in the history
  • Loading branch information
MazeWorksSuriya committed Aug 29, 2024
1 parent 76254bd commit ac85cc4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY }}
aws_secret_key: ${{ secrets.AWS_SECRET_KEY }}
application_name: react_veggie
environment_name: Reactveggie-env
existing_bucket_name: elasticbeanstalk-us-east-1-223194923019
application_name: "docker react 1"
environment_name: "Dockerreact1-env"
existing_bucket_name: elasticbeanstalk-ap-south-1-443370700977
region: us-east-1
version_label: ${{ github.sha }}2
version_label: ${{ github.sha }}
deployment_package: deploy.zip
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/coverage

# production
/build
# /build

# misc
.DS_Store
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ WORKDIR /app

COPY package.json .

RUN ["npm", "install"]
# RUN ["npm", "install"]

COPY . .

RUN ["npm", "run", "build"]
# RUN ["npm", "run", "build"]


FROM nginx:alpine3.19
Expand Down
5 changes: 5 additions & 0 deletions build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<html>
<body>
<h4>Helloworld</h4>
</body>
</html>

0 comments on commit ac85cc4

Please sign in to comment.