Skip to content

Commit

Permalink
Updated deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsoganov committed Oct 29, 2024
1 parent 030bd70 commit 962546d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
# Bundle docs into zero-dependency HTML file
npx @redocly/cli build-docs openapi/openapi.yaml -o index.html
- name: Add favicon
run: |
sed -i '' '8i\
<link rel="icon" type="image/png" href="docs/favicon.png"/>' index.html
- name: Check if index.html exists
run: |
if [ ! -f index.html ]; then
echo "index.html does not exist!"
exit 1
fi
- name: Add favicon
run: |
sed -i '' '8i\
<link rel="icon" type="image/png" href="docs/favicon.png"/>' index.html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 962546d

Please sign in to comment.