Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BramVerniest committed Nov 28, 2023
2 parents 6fd4492 + 4a41382 commit 53760fa
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/accept-fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Apply Deploy Label

on:
pull_request:
types: [labeled]

jobs:
build_and_deploy_job:
if: github.event.label.name == 'Accept for Deploy'
runs-on: ubuntu-latest
name: Accept
steps:
- name: Accept
run: echo "Accepted"
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
# if non forked PR, run the deploy
if: github.repository == 'chili-publish/grafx-documentation' && (github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed'))
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
Expand Down Expand Up @@ -40,7 +41,7 @@ jobs:
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
if: github.repository == 'chili-publish/grafx-documentation' && github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/deploy-fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Deploy fork PR to dev

on:
workflow_run:
workflows: [Apply Deploy Label]
types:
- completed

jobs:
build_and_deploy_job:
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install MkDocs
run: pip install -r requirements.txt
- name: build documentation
run: mkdocs build
- name: copy config file
run: cp staticwebapp.config.json site
- name: Deploy to azure
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WONDERFUL_SKY_012B9BC03 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/site" # App source code path
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WONDERFUL_SKY_012B9BC03 }}
action: "close"
7 changes: 4 additions & 3 deletions docs/CHILI-GraFx/users/roles/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@

### Subscription Admin

**Definition**: A Subscription Admin manages the subscription(s) they are assigned too
**Definition**: A Subscription Admin manages the subscription(s) they are assigned to

Permissions


- View all subscription(s) assigned to
- View usage reporting
- View subscription details
Expand Down Expand Up @@ -47,7 +48,7 @@ In the API, this is labeled as "EA".

### User

**Definition**: A **User** works as an end user in the CHILI GraFx environment(s) where they are assigned to. This is the default role, and cannot be removed.
**Definition**: A User works as an end user in the CHILI GraFx environment(s) where they are assigned to. This is the default role, and cannot be removed.

Permissions

Expand Down Expand Up @@ -141,4 +142,4 @@ Only the Subscription Admin & the Environment Admin can access the User Manageme

## Changing roles

Click here to see how to [change roles & Environment access](/CHILI-GraFx/users/update/).
Click here to see how to [change roles & Environment access](/CHILI-GraFx/users/update/).
38 changes: 38 additions & 0 deletions docs/release-notes/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# Release notes

## Nov 27, 2023 - CHILI GraFx

![rn_icon](https://chilipublishdocs.imgix.net/logos/CHILI_LOGOS_OK-04.svg)

### Improvements

- Improved performance of getting renders information
- Optimization of authorization-related functions

### Fixes

- Fixed error response in case of failed users invitation

CHILI GraFx [Platform API](https://api.chiligrafx.com/swagger/index.html)

## Nov 22, 2023 - CHILI GraFx

![rn_icon](https://chilipublishdocs.imgix.net/logos/CHILI_LOGOS_OK-04.svg)

CHILI GraFx [Environment API 1.3.3](https://sandbox1.chili-publish-sandbox.online/grafx/swagger/index.html)

### Improvements

- Improved the performance of the 'Get' endpoints for media and templates.
- Transitioned to using a token cache service for fetching internal tokens, moving away from direct calls to the identity provider.
- Standardized the examples in Swagger documentation for consistency.

### Fixes

- Fixed the issue causing a 500 response when certain invalid arguments are used.
- Addressed an issue where URLs containing the 'environment' value in varying case sensitivities caused errors.
- Resolved a 500 error that occurred due to a concurrency issue when executing multiple requests to delete a single folder.
- Fixed a problem where templates became unattachable to any collection after being manually migrated to another environment without updating their ID.

### New Endpoints

- Introduced for Enhanced Media Preview Capabilities<br>`GET /api/v1/environment/{environment}/media/{mediaId}/preview/highestOrVector`

## Nov 21, 2023 - GraFx Publisher

![rn_icon](/assets/CHILI_publisher_RGB.svg)
Expand Down

0 comments on commit 53760fa

Please sign in to comment.