Skip to content

Commit

Permalink
Feat/initial-automation (#6)
Browse files Browse the repository at this point in the history
* feat(portal automation): WIP partial scripts to support automation

* feat(automation): content publishing - WIP

* feat(initial-automation): Publishing script and simple GitHub Action

* chore: adjust the action to leverage variable for subdomain

* chore: enable script execution

* chore: fix env vars

* chore: move setup to end of script

* chore: adjust how action invokes scripts

* chore: fix action iteration

* chore: fix glob pattern for product name

* chore: fix manifest path

* chore: adjust function calling from action

* chore: action update

* chore: env var config

* chore: adjust manifest path

* chore: adjust paths based on action execution

* chore: add trap and output logging

* chore: improve logging

* chore: tidy up simple action

* chore: fix existing branding image setting

* Merge branch 'main' into feat/initial-automation

* chore: adjust image names due to bad image

* chore: adjust image check for existence

* chore: adjust image names due to bad images uploads
  • Loading branch information
frankkilcommins authored Jun 18, 2024
1 parent b3b44d9 commit 879d9e5
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions products/SwaggerHub Portal APIs/Add-Product-Content.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,6 @@ curl --location --request PUT 'https://api.portal.swaggerhub.com/v1/products/<PR

After publishing the documentation and API reference, the portal product documentation looks like follows:

![Sample-Portal-Product-Documentation.png](./images/embedded/Sample-Portal-Product-Documentation.png)
![Sample-Portal-Product-Documentation2.png](./images/embedded/Sample-Portal-Product-Documentation2.png)

![Sample-Portal-Product-API-Reference.png](./images/embedded/Sample-Portal-Product-API-Reference.png)
![Sample-Portal-Product-API-Reference2.png](./images/embedded/Sample-Portal-Product-API-Reference2.png)
2 changes: 1 addition & 1 deletion products/SwaggerHub Portal APIs/Create-New-Product.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ Products can also have a *logo*.


After updating the product settings, the published portal now looks as follows:
![Sample-Portal-Landing-With-Product.png](./images/embedded/Sample-Portal-Landing-With-Product.png)
![Sample-Portal-Landing-With-Product2.png](./images/embedded/Sample-Portal-Landing-With-Product2.png)
2 changes: 1 addition & 1 deletion products/SwaggerHub Portal APIs/Manage-Portal-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ curl --location --request PATCH 'https://api.portal.swaggerhub.com/v1/portals/<Y
```

After updating the portal settings via the above PATCH request, the published portal now looks as follows:
![Sample-Portal-Landing.png](./images/embedded/Sample-Portal-Landing.png)
![Sample-Portal-Landing2.png](./images/embedded/Sample-Portal-Landing2.png)

0 comments on commit 879d9e5

Please sign in to comment.