Skip to content

Commit

Permalink
Add aws backend link to config, add test.yml to workflow folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Afsha10 committed Jan 27, 2024
1 parent 282d860 commit 2214a6c
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-diff-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:

jobs:

check-diff:
name: Check diff size
runs-on: ubuntu-latest
Expand All @@ -28,4 +27,4 @@ jobs:
echo "The diff looks nice and small - good work! 😎"
exit 0
fi
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
3 changes: 2 additions & 1 deletion client/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
plan.drawio
plan.md
plan.md
build
8 changes: 0 additions & 8 deletions client/build/manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions client/build/robots.txt

This file was deleted.

4 changes: 3 additions & 1 deletion client/src/config.js
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2214a6c

Please sign in to comment.