Skip to content

Attempt fix for one of the workflows. (#80) #3

Attempt fix for one of the workflows. (#80)

Attempt fix for one of the workflows. (#80) #3

name: Deploy Website to EC2 staging
on:
push:
branches:
- main
jobs:
deploy:
uses: ./.github/workflows/deploy-dotnet-service-ec2.yml
secrets: inherit
with:
project-name: Website
dotnet-version: '8.0.x'
service-name: ${{ env.WEBSITE_SERVICE_NAME }}

Check failure on line 15 in .github/workflows/website-deploy-staging.yml

View workflow run for this annotation

GitHub Actions / Deploy Website to EC2 staging

Invalid workflow file

The workflow is not valid. .github/workflows/website-deploy-staging.yml (Line: 15, Col: 21): Unrecognized named-value: 'env'. Located at position 1 within expression: env.WEBSITE_SERVICE_NAME .github/workflows/website-deploy-staging.yml (Line: 16, Col: 21): Unrecognized named-value: 'env'. Located at position 1 within expression: env.WEBSITE_SERVICE_PATH
service-path: ${{ env.WEBSITE_SERVICE_PATH }}