Skip to content

Update website-deploy-staging.yml #4

Update website-deploy-staging.yml

Update website-deploy-staging.yml #4

name: Deploy Website to EC2 staging
on:
push:
branches:
- main
jobs:
deploy:
uses: ./.github/workflows/deploy-dotnet-service-ec2.yml
secrets: inherit
with:
environment: staging

Check failure on line 13 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: 13, Col: 20): Invalid input, environment is not defined in the referenced workflow.
project-name: Website
dotnet-version: '8.0.x'
service-name: ${{ vars.WEBSITE_SERVICE_NAME }}
service-path: ${{ vars.WEBSITE_SERVICE_PATH }}