Skip to content

Commit 3270947

Browse files
committed
WIP
1 parent 9a1c8ab commit 3270947

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,13 @@ jobs:
5858
name: github-pages-pr-${{ github.event.pull_request.number }}
5959
path: preview
6060

61+
- name: Remove indeterminism
62+
run: |
63+
find current/ preview/ -type f -exec sed -i '/gitbook.page.hasChanged/d' {} +
64+
6165
- name: Create diff to current
6266
run: |
63-
diff -Nrwu current/ preview/ | cat > preview/diff.patch
67+
diff -Nrwu --exclude search_index.josn current/ preview/ | cat > preview/diff.patch
6468
pygmentize -o preview/diff.html -l diff -f html -O full preview/diff.patch
6569
diffstat -l -p2 preview/diff.patch > diff.txt
6670

0 commit comments

Comments
 (0)