diff --git a/.github/workflows/feature.yml b/.github/workflows/feature.yml index 30ba72a..5629c65 100644 --- a/.github/workflows/feature.yml +++ b/.github/workflows/feature.yml @@ -21,9 +21,10 @@ jobs: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }} action: "upload" - app_location: "/" - app_build_command: 'npm run build-storybook' - api_location: "" - output_location: "storybook-static" + app_build_command: ${{ vars.APP_BUILD_COMMAND }} + app_location: ${{ vars.APP_LOCATION }} + api_build_command: ${{ vars.API_BUILD_COMMAND }} + api_location: ${{ vars.API_LOCATION}} + output_location: ${{ vars.OUTPUT_LOCATION }} deployment_environment: "development" \ No newline at end of file diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index c6b765e..7940875 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -23,10 +23,11 @@ jobs: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }} action: 'upload' - app_location: '/' - app_build_command: 'npm run build-storybook' - api_location: '' - output_location: 'storybook-static' + app_build_command: ${{ vars.APP_BUILD_COMMAND }} + app_location: ${{ vars.APP_LOCATION }} + api_build_command: ${{ vars.API_BUILD_COMMAND }} + api_location: ${{ vars.API_LOCATION}} + output_location: ${{ vars.OUTPUT_LOCATION }} deployment_environment: 'staging' close_pull_request_job: