From ac85cc499db04da0501d78f19f9bbbaf4aae8f5b Mon Sep 17 00:00:00 2001 From: MazeKssp Date: Thu, 29 Aug 2024 23:02:30 +0530 Subject: [PATCH] Added a account to free --- .github/workflows/deploy.yaml | 8 ++++---- .gitignore | 2 +- Dockerfile | 4 ++-- build/index.html | 5 +++++ 4 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 build/index.html diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a09bf50..ee0f24c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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 diff --git a/.gitignore b/.gitignore index 4d29575..58b21fe 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ /coverage # production -/build +# /build # misc .DS_Store diff --git a/Dockerfile b/Dockerfile index 78899ad..e752f7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/build/index.html b/build/index.html new file mode 100644 index 0000000..2cefe3d --- /dev/null +++ b/build/index.html @@ -0,0 +1,5 @@ + + +

Helloworld

+ + \ No newline at end of file