Skip to content

Commit

Permalink
Merge pull request #19 from OpenCatalogi/remko48-patch-1
Browse files Browse the repository at this point in the history
Updated action to allow nextcloud_api
  • Loading branch information
remko48 authored Sep 16, 2024
2 parents 609ca93 + 82c2c83 commit 91c16db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ permissions:
| `pull_from_branche` | The branch on which to base the build (Optional) | No | string | `main` |
| `me_url` | The profile URL used (Optional) | No | string | `https://api.opencatalogi.nl/api/users/me` |
| `api_url` | The location of the Open Catalogi API (change if you are running your own API) (Optional) | No | string | `https://api.opencatalogi.nl/api` |
| `nextcloud_api_url` | The location of the Nextcloud Open Catalogi API (change if you are running your own API) (Optional) | No | string | `https://directory.opencatalogi.nl/index.php/apps/opencatalogi/api` |
| `admin_url` | The admin (dashboard) URL used (Optional) | No | string | `https://api.opencatalogi.nl/admin` |
| `base_url` | The BASE location of the Open Catalogi API (change if you are running your own API) (Optional) | No | string | `https://api.opencatalogi.nl` |
| `frontend_url` | The location (URL) of this Open Catalogi installation (Optional) | No | string | `https://api.opencatalogi.nl` |
Expand Down
6 changes: 6 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ inputs:
required: false
type: string
default: 'https://api.opencatalogi.nl/api'
nextcloud_api_url:
description: 'The location of the nextcloud open catalogi api (change if you are running your own api)'
required: false
type: string
default: 'https://directory.opencatalogi.nl/index.php/apps/opencatalogi/api'
admin_url:
description: 'The admin (dashboard) url used'
required: false
Expand Down Expand Up @@ -297,6 +302,7 @@ runs:
envkey_GATSBY_FILTER_REFERENCE_COMPONENTS: ${{ inputs.filter_reference_components }}
envkey_GATSBY_ME_URL: ${{ inputs.me_url }}
envkey_GATSBY_API_URL: ${{ inputs.api_url }}
envkey_GATSBY_NEXTCLOUD_API_URL: ${{ inputs.nextcloud_api_url }}
envkey_GATSBY_ADMIN_URL: ${{ inputs.admin_url }}
envkey_GATSBY_BASE_URL: ${{ inputs.base_url }}
envkey_GATSBY_FRONTEND_URL: ${{ inputs.frontend_url }}
Expand Down

0 comments on commit 91c16db

Please sign in to comment.