Deploy the Environment Domains
azure-client-id
: Azure service principal or managed identity client ID when using OIDCazure-subscription-id
: Azure service principal or managed identity subscription ID when using OIDCazure-tenant-id
: Azure service principal or managed identity tenant ID when using OIDCenvironment
: the name of the environment for the domains (Required)healthcheck
: Health check path, without first / e.g. ‘healthcheck/all’ (Optional)slack-webhook
: A slack webhook to send a slack message to the service tech channel on deploy failure. See https://technical-guidance.education.gov.uk/infrastructure/monitoring/slack/#content (Optional)terraform-base
: Name of the base terraform path (default: ‘terraform/domains/environment’)jobs:
main:
...
permissions:
id-token: write # Required for OIDC authentication to Azure
...
steps:
- name: Deploy Domains Environment
id: deploy_domains_env
uses: DFE-Digital/github-actions/deploy-domain-env@master
with:
azure-client-id: $
azure-tenant-id: $
azure-subscription-id: $
environment: test
healthcheck: healthcheck/all
slack-webhook: $
terraform-base: terraform/domains/environment