File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v2
12- - name : Add execute permission to make.sh
13- run : chmod +x make.sh
14- - uses : actions/checkout@v2
1512 - name : Build docs
16- run : ./make.sh
13+ run : ./docs/ make.sh
1714 - name : Deploy to GitHub Pages
1815 uses : peaceiris/actions-gh-pages@v3
1916 with :
2017 deploy_key : ${{ secrets.ACTIONS_DEPLOY_KEY }}
2118 publish_dir : ./docs
2219 force_orphan : false
20+ exclude_assets : ' make.sh'
Original file line number Diff line number Diff line change 33echo " Getting started"
44
55# Bundle docs into zero-dependency HTML file
6- npx @redocly/cli build-docs ./openapi/simple-auth0.yaml && \
7- mv redoc-static.html index.html && \
6+ npx @redocly/cli build-docs ./docs/ openapi/simple-auth0.yaml && \
7+ mv ./ redoc-static.html ./docs/ index.html && \
88echo " Changed name from redoc-static.html to index.html" && \
99# Add favicon
1010# sed -i '7 i \ \ <link rel="icon" type="image/png" href="images/favicon.png"/>' index.html && \
You can’t perform that action at this time.
0 commit comments