We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e0f874 commit 4d657a9Copy full SHA for 4d657a9
.github/workflows/publish.yml
@@ -47,15 +47,10 @@ jobs:
47
- name: Render for school
48
run: ./extras/scripts/school_ci.sh ${{ matrix.school }}
49
50
- # have had issues with nbgitpuller URLs being double-escaped, which causes an error when trying to open it
51
- - name: Confirm there isn't double-escaping
52
- run: |
53
- if grep -r "&" _build/html; then
54
- echo "Double-escaped URL"
55
- exit 1
56
- else
57
- echo "No double-escaping"
58
- fi
+ # https://github.com/jupyter-book/jupyter-book/issues/2271
+ # https://stackoverflow.com/a/22385837/358804
+ - name: Fix double-escaping
+ run: grep -rlZ "&" ~/Downloads/nyu | xargs -0 sed -i "" -e 's/&/\&/g'
59
60
- name: Update commit
61
run: |
0 commit comments