Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
saliceti committed May 15, 2024
1 parent 9c13f76 commit 5693d35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/disable-maintenance.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Enable maintenance
name: Disable maintenance

on:
workflow_dispatch:
inputs:
environment:
required: true
type: string
type: choice
options:
- qa
- production
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/enable-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
environment:
required: true
type: string
type: choice
options:
- qa
- production
Expand All @@ -22,11 +22,12 @@ jobs:

- name: Build and push docker image
id: build-image
uses: DFE-Digital/github-actions/build-docker-image@master
uses: DFE-Digital/github-actions/build-docker-image@1823-fix-build-action-for-workflow-dispatch
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
dockerfile-path: service_unavailable_page/Dockerfile
dockerfile-path: maintenance_page/Dockerfile
docker-repository: ghcr.io/dfe-digital/apply-teacher-training-maintenance
ghcr.io/dfe-digital/apply-teacher-training-maintenance
context: maintenance_page

- uses: azure/login@v1
Expand Down

0 comments on commit 5693d35

Please sign in to comment.