Skip to content

Build and Deploy - Staging #80

Build and Deploy - Staging

Build and Deploy - Staging #80

name: Build and Deploy - Staging
on:
push:
branches:
- main
workflow_dispatch:
jobs:
call-reusable-build-and-deploy:
uses: ./.github/workflows/build-deploy-reusable.yml
with:
EnvironmentName: 'Staging'
AzureWebAppName: 'ssw-rulesgpt-api-stage'
ApiBaseUrl: ${{ env.API_BASE_URL }}

Check failure on line 15 in .github/workflows/ssw-rulesgpt-stage.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy - Staging

Invalid workflow file

The workflow is not valid. .github/workflows/ssw-rulesgpt-stage.yml (Line: 15, Col: 19): Unrecognized named-value: 'env'. Located at position 1 within expression: env.API_BASE_URL
secrets:
AzureWebAppSecret: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_706C909B7DCB4379927A9D3AF3D8B5EF }}
AzureStaticWebAppsApiToken: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ASHY_MEADOW_0A2BAD900 }}
GithubRepoToken: ${{ secrets.GITHUB_TOKEN }}