We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b66051 commit 7da3967Copy full SHA for 7da3967
.github/workflows/preview.yml
@@ -53,13 +53,14 @@ jobs:
53
54
- name: Create diff to current
55
run: |
56
- diff -Nrwu --exclude search_index.json current/ preview/ > preview/diff.patch || true
57
- if [[ -s preview/diff.patch ]] ; then
+ diff -Nrwu --exclude search_index.json current/ preview/ > diff.patch || true
+ if [[ -s diff.patch ]] ; then
58
sudo apt-get update
59
sudo apt-get install -y diffstat python3-pygments
60
61
+ mv diff.patch preview/diff.patch
62
pygmentize -o preview/diff.html -l diff -f html -O full preview/diff.patch
- diffstat -l -p2 preview/diff.patch > diff.txt
63
+ diffstat -l -p2 preview/diff.patch > preview/diff.txt
64
fi
65
66
- name: Download metadata artifact
0 commit comments