Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
saliceti committed May 2, 2024
1 parent c1c3dc3 commit 39ad07d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/disable-maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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

0 comments on commit 39ad07d

Please sign in to comment.