Skip to content

Commit

Permalink
Update send-to-discovery.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NiraimathiGunalan authored Jun 6, 2024
1 parent 3f86e62 commit dbc921e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/send-to-discovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: Send Discovered API to ApiConnect
on: [pull_request, workflow_dispatch, push]

env:
API_HOST: d-j02.apiconnect.dev.automation.ibm.com
API_HOST: apps.dw-rosa-01.oweu.p1.openshiftapps.com
# platform_api_prefix is not required to change for ApiConnect on Cloud
PLATFORM_API_PREFIX: platform-api
PROVIDER_ORG: niraimathi
PLATFORM_API_PREFIX: production-mgmt-platform-api-apic
INSECURE_SKIP_TLS_VERIFY: true
PROVIDER_ORG: e2etest1
#API_FILES: APIfolder/uber-api.json
API_FOLDERS: APIfolder,APIfolderTwo

Expand All @@ -19,11 +20,12 @@ jobs:
id: difference-output
run: |
echo "action_updates=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.before }} ${{ github.sha }} | xargs)" >> $GITHUB_OUTPUT
- uses: ibm-apiconnect/apic-discovery-action@main
- uses: ibm-apiconnect/apic-discovery-action@ng/skiptls
id: discover-apis
with:
api_host: ${{ env.API_HOST }}
platform_api_prefix: ${{ env.PLATFORM_API_PREFIX }}
insecure_skip_tls_verify: ${{ INSECURE_SKIP_TLS_VERIFY }}
provider_org: ${{ env.PROVIDER_ORG }}
api_key: ${{ secrets.apicApikey }}
api_files: ${{ env.API_FILES }}
Expand Down

0 comments on commit dbc921e

Please sign in to comment.