Skip to content

Build and Deploy - Staging #79

Build and Deploy - Staging

Build and Deploy - Staging #79

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

Check failure on line 18 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: 18, Col: 19): Unrecognized named-value: 'env'. Located at position 1 within expression: env.ApiBaseUrl
secrets:
AzureWebAppSecret: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_706C909B7DCB4379927A9D3AF3D8B5EF }}
AzureStaticWebAppsApiToken: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ASHY_MEADOW_0A2BAD900 }}
GithubRepoToken: ${{ secrets.GITHUB_TOKEN }}