Skip to content

Commit

Permalink
ci: rename master -> main
Browse files Browse the repository at this point in the history
  • Loading branch information
minenwerfer committed Oct 30, 2023
1 parent 05e79a1 commit dab31c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Swagger UI to Pages
on:
push:
branches:
- master
- main
workflow_dispatch:

permissions:
Expand Down
5 changes: 1 addition & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<head>
Expand Down Expand Up @@ -37,12 +36,10 @@
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
<script>
window.onload = function() {
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
configUrl: "swagger-config.json",
configUrl: "swagger.json",
dom_id: '#swagger-ui'
})
// End Swagger UI call region

window.ui = ui
}
Expand Down

0 comments on commit dab31c5

Please sign in to comment.