Skip to content

Commit 0b36ac7

Browse files
authored
Update 5-setup-frontend-react-framework.yml
Remove slashes on Check
1 parent 7a31137 commit 0b36ac7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/5-setup-frontend-react-framework.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
8282
# Check for codespace Django REST API endpoint suffix in Activities.js
8383
file="octofit-tracker/frontend/src/components/Activities.js"
84-
keyphrase='\-8000.app.github.dev\/api\/activities\/'
84+
keyphrase='\-8000.app.github.dev\/api\/activities'
8585
minimum_occurences=1
8686
found_occurences=$(grep -o "$keyphrase" "$file" | wc -l)
8787
if [ "$found_occurences" -lt "$minimum_occurences" ]; then
@@ -91,7 +91,7 @@ jobs:
9191
9292
# Check for codespace Django REST API endpoint suffix in Leaderboard.js
9393
file="octofit-tracker/frontend/src/components/Leaderboard.js"
94-
keyphrase='\-8000.app.github.dev\/api\/leaderboard\/'
94+
keyphrase='\-8000.app.github.dev\/api\/leaderboard'
9595
minimum_occurences=1
9696
found_occurences=$(grep -o "$keyphrase" "$file" | wc -l)
9797
if [ "$found_occurences" -lt "$minimum_occurences" ]; then
@@ -101,7 +101,7 @@ jobs:
101101
102102
# Check for codespace Django REST API endpoint suffix in Teams.js
103103
file="octofit-tracker/frontend/src/components/Teams.js"
104-
keyphrase='\-8000.app.github.dev\/api\/teams\/'
104+
keyphrase='\-8000.app.github.dev\/api\/teams'
105105
minimum_occurences=1
106106
found_occurences=$(grep -o "$keyphrase" "$file" | wc -l)
107107
if [ "$found_occurences" -lt "$minimum_occurences" ]; then
@@ -111,7 +111,7 @@ jobs:
111111
112112
# Check for codespace Django REST API endpoint suffix in Users.js
113113
file="octofit-tracker/frontend/src/components/Users.js"
114-
keyphrase='\-8000.app.github.dev\/api\/users\/'
114+
keyphrase='\-8000.app.github.dev\/api\/users'
115115
minimum_occurences=1
116116
found_occurences=$(grep -o "$keyphrase" "$file" | wc -l)
117117
if [ "$found_occurences" -lt "$minimum_occurences" ]; then
@@ -121,7 +121,7 @@ jobs:
121121
122122
# Check for codespace Django REST API endpoint suffix in Workouts.js
123123
file="octofit-tracker/frontend/src/components/Workouts.js"
124-
keyphrase='\-8000.app.github.dev\/api\/workouts\/'
124+
keyphrase='\-8000.app.github.dev\/api\/workouts'
125125
minimum_occurences=1
126126
found_occurences=$(grep -o "$keyphrase" "$file" | wc -l)
127127
if [ "$found_occurences" -lt "$minimum_occurences" ]; then

0 commit comments

Comments
 (0)