.github/workflow-templates/dotnet-eb-deploy.yml

23 lines
1 KiB
YAML

name: Deploy (.NET Elastic Beanstalk)
on:
push:
branches: [main]
jobs:
deploy:
uses: Sea-Haven-Industries/.github/.github/workflows/cd-dotnet-eb.yaml@9781774f04b824b1182ff41638687f1c01c04361 # v1.0.11
with:
# Required: the project to publish, relative to the repo root.
project: REPLACE-ME-project-csproj
# Required: the Elastic Beanstalk application name.
eb-application: REPLACE-ME-eb-application
# Required: the EXISTING environment to deploy to. This workflow updates
# an environment; it does not create one. Map branches to environments by
# adding one job per branch rather than parameterising by branch.
eb-environment: REPLACE-ME-eb-environment
# The Amazon Linux .NET platform needs a Procfile. Set the entry-point
# command here to have one generated, or delete this line if the repo
# commits its own Procfile into the published output.
procfile-command: REPLACE-ME-dotnet-entry-assembly-dll
secrets:
deploy-role-arn: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}