Skip to content

Commit

Permalink
Try switching to use base API path.
Browse files Browse the repository at this point in the history
  • Loading branch information
LswaN58 committed Jun 4, 2024
1 parent 492cfd8 commit 2a3ce14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/website_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ env:
DEPLOY_URL: ${{ vars.OGD_STAGING_HOST }}/${{ github.event.repository.name }}/${{ github.ref_name }}
URL_PATH: ${{ github.event.repository.name }}/${{ github.ref_name }}
API_HOST: ${{ vars.OGD_SERVICES_HOST }}
API_PATH: wsgi-bin/opengamedata-website-api/production/app.wsgi/

jobs:
ci_deploy:
Expand All @@ -46,7 +45,7 @@ jobs:
if: "${{ github.event.inputs.use_custom_api == 'false' || github.event_name == 'push' }}"
uses: ./.github/actions/web_config
with:
api_base: https://${{env.API_HOST}}/${{env.API_PATH}}
api_base: https://${{env.API_HOST}}/${{vars.API_BASE_URL}}
- name: Set up Config File (with Custom API Endpoint)
if: "${{ github.event.inputs.use_custom_api == 'true' }}"
uses: ./.github/actions/web_config
Expand Down

0 comments on commit 2a3ce14

Please sign in to comment.