mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-09 13:57:05 +01:00
Update update-swagger.yml
This commit is contained in:
parent
793ecffe48
commit
097d799b3b
2
.github/workflows/update-swagger.yml
vendored
2
.github/workflows/update-swagger.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
mv dist/index.html .
|
||||
# Fix references in index.html
|
||||
sed -i "s|https://petstore.swagger.io/v2/swagger.json|$SWAGGER_YAML|g" index.html
|
||||
sed -i "s|href=\"./|href=\"dist/|g" docs/index.html
|
||||
sed -i "s|href=\"./|href=\"dist/|g" index.html
|
||||
sed -i "s|src=\"./|src=\"dist/|g" index.html
|
||||
sed -i "s|dist/favicon|icons/favicon|g" index.html
|
||||
sed -i "s|<title>.*</title>|<title>$TITLE</title>|g" index.html
|
||||
|
Loading…
Reference in New Issue
Block a user