generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 290
43 lines (39 loc) · 1.21 KB
/
core-logging-deployment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
name: core-logging-deployment
on:
push:
branches:
- main
paths:
- 'terraform/environments/core-logging/**'
- 'terraform/modules/vpc-hub/**'
- 'terraform/modules/core-monitoring/**'
- '!**.md'
- '.github/workflows/core-logging-deployment.yml'
- '.github/workflows/reusable_terraform_plan_apply.yml'
pull_request:
branches:
- main
paths:
- 'terraform/environments/core-logging/**'
- 'terraform/modules/vpc-hub/**'
- 'terraform/modules/core-monitoring/**'
- '!**.md'
- '.github/workflows/core-logging-deployment.yml'
- '.github/workflows/reusable_terraform_plan_apply.yml'
workflow_dispatch:
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
defaults:
run:
shell: bash
jobs:
core-logging-deployment-plan-apply:
uses: ./.github/workflows/reusable_terraform_plan_apply.yml
with:
working-directory: "terraform/environments/core-logging"
environment: production
secrets:
modernisation_platform_environments: "${{ secrets.MODERNISATION_PLATFORM_ENVIRONMENTS }}"
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}