Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jeradrutnam committed Dec 5, 2024
2 parents 1cf2105 + e6f4459 commit e671012
Show file tree
Hide file tree
Showing 76 changed files with 5,267 additions and 622 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,22 +90,35 @@ jobs:

- name: Build MkDocs Documentation
run: |
unset ENABLE_HOOKS
cd en/asgardeo
mkdocs build
cd ../../
- name: Conditionally build MkDocs Documentation
run: |
export ENABLE_HOOKS=true
cd en/asgardeo
mkdocs build --site-dir prod-build
cd ../../
- name: Zip the Documentation
run: |
mkdir -p out/asgardeo/docs
mkdir -p out-prod/asgardeo/docs
cp -r ./en/asgardeo/site/* out/asgardeo/docs/
cp -r ./en/asgardeo/prod-build/* out-prod/asgardeo/docs/
zip -r asgardeo-docs-${{ env.NEW_VERSION }}.zip ./out
zip -r asgardeo-docs-${{ env.NEW_VERSION }}-prod.zip ./out-prod
- name: Create git tag
run: |
git config user.name $GIT_USERNAME
git config user.email $GIT_USER_EMAIL
git tag "v${{ env.NEW_VERSION }}"
git tag "v${{ env.NEW_VERSION }}-prod"
git push "https://$GIT_USERNAME:[email protected]/${{ github.repository }}" "v${{ env.NEW_VERSION }}"
git push "https://$GIT_USERNAME:[email protected]/${{ github.repository }}" "v${{ env.NEW_VERSION }}-prod"
- name: Create Release
id: create_release
Expand All @@ -115,6 +128,15 @@ jobs:
release_name: Asgardeo Docs - v${{ env.NEW_VERSION }}
draft: false
prerelease: ${{ env.IS_HOTFIX == 'true' }}

- name: Create prod release
id: create_prod_release
uses: actions/create-release@v1
with:
tag_name: v${{ env.NEW_VERSION }}-prod
release_name: Asgardeo Docs - v${{ env.NEW_VERSION }}-prod
draft: false
prerelease: ${{ env.IS_HOTFIX == 'true' }}

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
Expand All @@ -123,6 +145,14 @@ jobs:
asset_path: ./asgardeo-docs-${{ env.NEW_VERSION }}.zip
asset_name: asgardeo-docs-${{ env.NEW_VERSION }}.zip
asset_content_type: application/zip

- name: Upload Prod Release Asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_prod_release.outputs.upload_url }}
asset_path: ./asgardeo-docs-${{ env.NEW_VERSION }}-prod.zip
asset_name: asgardeo-docs-${{ env.NEW_VERSION }}-prod.zip
asset_content_type: application/zip

- name: Commit and push new version
if: ${{ env.IS_HOTFIX == 'false' }}
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.265
0.0.280
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,11 @@ components:
type: string
description: The local claim URI to map with the external claim.
example: http://wso2.org/claims/username
properties:
type: array
description: Define any additional properties if required.
items:
$ref: '#/components/schemas/Property'
description: External claim response.
Property:
required:
Expand Down
25 changes: 24 additions & 1 deletion en/asgardeo/docs/apis/restapis/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -627,11 +627,34 @@ components:
- ACTIVE
- INACTIVE
description: Status of the action.
links:
type: array
items:
$ref: '#/components/schemas/Link'
example:
- href: "/t/{organization-name}/api/server/v1/actions/preIssueAccessToken/24f64d17-9824-4e28-8413-de45728d8e84"
method: GET
rel: self

Link:
type: object
properties:
href:
type: string
description: Url of the endpoint.
method:
type: string
enum:
- GET
description: Http method.
rel:
type: string
description: Relation to the resource.

ActionResponseList:
type: array
items:
$ref: '#/components/schemas/ActionResponse'
$ref: '#/components/schemas/ActionBasicResponse'

ActionTypesResponse:
type: array
Expand Down
Loading

0 comments on commit e671012

Please sign in to comment.