Skip to content

Commit 35993d8

Browse files
committed
PR
1 parent b12f173 commit 35993d8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Test
33
on:
44
push:
55
branches: ["main"]
6+
pull_request:
7+
branches: [ "main" ]
68

79
jobs:
810
test-non-main-repo:

Test/Verify.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/bash
22

33
if [ $1 == "--non-main-repo" ]; then
4-
MAINREPO=false;
4+
MAINREPO=false;
55
elif [ $1 == "--main-repo" ]; then
66
MAINREPO=true;
77
else
@@ -11,11 +11,11 @@ fi
1111

1212
if [ ! -f _out/wwwroot/.nojekyll ]; then
1313
echo ".nojekyll doesn't exist!"
14-
exit 1
14+
exit 1
1515
fi
1616

1717
if [ $MAINREPO == true ]; then
18-
grep -i 'base href="/"' _out/wwwroot/index.html > /dev/null
18+
grep -i 'base href="/"' _out/wwwroot/index.html > /dev/null
1919
else
2020
grep -i "base href=\"/$2/\"" _out/wwwroot/index.html > /dev/null
2121
fi

0 commit comments

Comments
 (0)