Skip to content
name: Enable maintenance
on:
push:
branches:
- 1684-spike-maintenance-page
workflow_dispatch:
inputs:
environment:
required: true
type: string
options:
- qa
- production
jobs:
enable-maintenance:
name: Disable maintenance app
runs-on: ubuntu-latest
environment: review
# environment: ${{ inputs.environment }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Set ARM and kubelogin environment
uses: DFE-Digital/github-actions/set-kubelogin-environment@master
with:
azure-credentials: ${{ secrets.AZURE_CREDENTIALS }}
- name: Disable maintenance app
run: make review_aks disable-maintenance PR_NUMBER=1
# run: make ${{ inputs.environment }}_aks disable-maintenance