Skip to content

Commit

Permalink
Updated make.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tsoganov committed Oct 29, 2024
1 parent 6051303 commit 2bbff5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
force_orphan: true
exclude_assets: '.github,openapi,.redocly.yaml,LICENSE,README.md,make.sh'
exclude_assets: '.github,openapi,redocly.yaml,LICENSE,README.md,make.sh'
7 changes: 4 additions & 3 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ echo "Getting started"

# Bundle docs into zero-dependency HTML file
npx @redocly/cli build-docs openapi/openapi.yaml -o index.html && \
# mv redoc-static.html index.html && \
# echo "Changed name from redoc-static.html to index.html" && \

# Add favicon
awk 'NR==8{print " <link rel=\"icon\" type=\"image/png\" href=\"docs/favicon.png\"/>"} 1' index.html > temp.html && mv temp.html index.html && \
sed -i '' '8i\
<link rel="icon" type="image/png" href="docs/favicon.png"/>' index.html && \

echo -e "\nDone!"

0 comments on commit 2bbff5f

Please sign in to comment.