File tree Expand file tree Collapse file tree 3 files changed +2
-2267
lines changed
Expand file tree Collapse file tree 3 files changed +2
-2267
lines changed Original file line number Diff line number Diff line change 1717 - name : Build site
1818 run : |
1919 rm -rf dist
20- mkdir -p dist/scripts
20+ mkdir -p dist
2121
2222 pandoc README.md \
2323 --from=gfm \
2828
2929 cp -R ./logo ./dist/logo
3030 cp ./docs.html ./dist/docs.html
31- cp ./scripts/scripts/redoc.standalone-v3.0.0-rc.0.js ./dist/scripts/redoc.standalone-v3.0.0-rc.0.js
3231 - name : Upload Pages artifact
3332 uses : actions/upload-pages-artifact@v3
3433 with :
Original file line number Diff line number Diff line change 5050 `https://raw.githubusercontent.com/${ user } /${ repo } /${ branch } /spec.yaml` ;
5151
5252 const redocScriptUrl =
53- `https://${ user } .github.io/ ${ repo } /scripts/ redoc.standalone- v3.0.0-rc.0.js` ;
53+ `https://cdn.redoc.ly/ redoc/ v3.0.0-rc.0/redoc.standalone .js` ;
5454
5555 const redocEl = document . querySelector ( 'redoc' ) ;
5656 redocEl . setAttribute ( 'spec-url' , specUrl ) ;
You can’t perform that action at this time.
0 commit comments