We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b12f173 commit 35993d8Copy full SHA for 35993d8
.github/workflows/test.yml
@@ -3,6 +3,8 @@ name: Test
3
on:
4
push:
5
branches: ["main"]
6
+ pull_request:
7
+ branches: [ "main" ]
8
9
jobs:
10
test-non-main-repo:
Test/Verify.sh
@@ -1,7 +1,7 @@
1
#!/usr/bin/bash
2
if [ $1 == "--non-main-repo" ]; then
- MAINREPO=false;
+ MAINREPO=false;
elif [ $1 == "--main-repo" ]; then
MAINREPO=true;
else
@@ -11,11 +11,11 @@ fi
11
12
if [ ! -f _out/wwwroot/.nojekyll ]; then
13
echo ".nojekyll doesn't exist!"
14
- exit 1
+ exit 1
15
fi
16
17
if [ $MAINREPO == true ]; then
18
- grep -i 'base href="/"' _out/wwwroot/index.html > /dev/null
+ grep -i 'base href="/"' _out/wwwroot/index.html > /dev/null
19
20
grep -i "base href=\"/$2/\"" _out/wwwroot/index.html > /dev/null
21
0 commit comments