From 2214a6c3c68ce75e8a242aee043ad8c0d4c44e9e Mon Sep 17 00:00:00 2001 From: Afsha10 Date: Sat, 27 Jan 2024 16:02:49 +0000 Subject: [PATCH] Add aws backend link to config, add test.yml to workflow folder --- .github/workflows/check-diff-size.yml | 3 +-- .github/workflows/test.yml | 10 ++++++++++ client/.gitignore | 3 ++- client/build/manifest.json | 8 -------- client/build/robots.txt | 3 --- client/src/config.js | 4 +++- 6 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 client/build/manifest.json delete mode 100644 client/build/robots.txt diff --git a/.github/workflows/check-diff-size.yml b/.github/workflows/check-diff-size.yml index b2dcc67798..e16f32aab7 100644 --- a/.github/workflows/check-diff-size.yml +++ b/.github/workflows/check-diff-size.yml @@ -4,7 +4,6 @@ on: pull_request: jobs: - check-diff: name: Check diff size runs-on: ubuntu-latest @@ -28,4 +27,4 @@ jobs: echo "The diff looks nice and small - good work! 😎" exit 0 fi - \ No newline at end of file + diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..6ede08cb26 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,10 @@ +name: CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 diff --git a/client/.gitignore b/client/.gitignore index 5e7e4b346e..e6b47a951d 100644 --- a/client/.gitignore +++ b/client/.gitignore @@ -1,3 +1,4 @@ node_modules/ plan.drawio -plan.md \ No newline at end of file +plan.md +build \ No newline at end of file diff --git a/client/build/manifest.json b/client/build/manifest.json deleted file mode 100644 index 6d7198cf29..0000000000 --- a/client/build/manifest.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "short_name": "To Do App", - "name": "To Do App", - "start_url": ".", - "display": "standalone", - "theme_color": "#000000", - "background_color": "#ffffff" -} diff --git a/client/build/robots.txt b/client/build/robots.txt deleted file mode 100644 index e9e57dc4d4..0000000000 --- a/client/build/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -# https://www.robotstxt.org/robotstxt.html -User-agent: * -Disallow: diff --git a/client/src/config.js b/client/src/config.js index e575ae92e9..1b41da4584 100644 --- a/client/src/config.js +++ b/client/src/config.js @@ -1,4 +1,6 @@ export const baseUrl = process.env.NODE_ENV === "production" - ? "https://video-storage.onrender.com" + ? "http://ec2-18-201-166-46.eu-west-1.compute.amazonaws.com:5000" : "http://localhost:5000"; + +// https://video-storage.onrender.com