Skip to content

Commit b4e6279

Browse files
committed
fix: Update files to new site path
1 parent 426ea62 commit b4e6279

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/jekyll-build-workflow.yml

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717

1818
- name: Build
1919
uses: actions/jekyll-build-pages@v1
20+
with:
21+
source: "./site"
2022

2123
- name: Upload artifact
2224
uses: actions/upload-pages-artifact@v1

.github/workflows/jekyll.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: ./.github/workflows/site-workflow
3131

3232
- name: Check for internal absolute links
33-
run: bash -c "! grep -REi 'https?://(www.)?opentabletdriver.net' _site || exit 1"
33+
run: bash -c "! grep -REi 'https?://(www.)?opentabletdriver.net' site/_site || exit 1"
3434

3535
html-validation:
3636
name: "Validate HTML"

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
compiledSitePath = "./_site"
1+
compiledSitePath = "./site/_site"
22

33
task :htmlproofer do
44
require "html-proofer"

run-tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
66

77
declare -A testParams # [testName]=>"testArgs"
88

9-
testParams["check-site-paths"]="${PWD} ${PWD}/_site"
9+
testParams["check-site-paths"]="${PWD}/site ${PWD}/site/_site"
1010

1111
for testName in "$TESTSDIR"/*; do
1212
name="$(basename "$testName")"

0 commit comments

Comments
 (0)