-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (33 loc) · 1.54 KB
/
build-and-deploy-dev.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
name: 'Terraform, Build, Deploy (dev)'
on:
workflow_dispatch:
push:
branches:
- 'main'
concurrency: ${{ github.workflow }} # Prevents more than one instance of this workflow running at the same time
jobs:
terraform_build_deploy:
uses: ./.github/workflows/_build-and-deploy-shared.yml
with:
GITHUB_ACTIONS_ENVIRONMENT: Dev
TERRAFORM_SERVICE_NAME: eff
TERRAFORM_SERVICE_NAME_HYPHENS: eff
TERRAFORM_ENVIRONMENT_NAME: Dev
TERRAFORM_STATE_BUCKET: uk-gov-equality-hub-terraform-state-bucket
TERRAFORM_STATE_FILE: eff_dev.tfstate
TERRAFORM_TFVARS_FILE: dev.tfvars
secrets:
TERRAFORM_AWS_ACCESS_KEY_ID: ${{ secrets.TERRAFORM_AWS_ACCESS_KEY_ID }}
TERRAFORM_AWS_SECRET_ACCESS_KEY: ${{ secrets.TERRAFORM_AWS_SECRET_ACCESS_KEY }}
ACCOUNT_WHITELIST: ${{ secrets.ACCOUNT_WHITELIST }}
ATTACHMENT_SCANNER_API_TOKEN: ${{ secrets.ATTACHMENT_SCANNER_API_TOKEN }}
ATTACHMENT_SCANNER_URL: ${{ secrets.ATTACHMENT_SCANNER_URL }}
BASIC_AUTH_USERNAME: ${{ secrets.BASIC_AUTH_USERNAME }}
BASIC_AUTH_PASSWORD: ${{ secrets.BASIC_AUTH_PASSWORD }}
GOV_UK_NOTIFY_API_KEY: ${{ secrets.GOV_UK_NOTIFY_API_KEY }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
STATIC_SITE_S3_SECRET_REFERER: ${{ secrets.STATIC_SITE_S3_SECRET_REFERER }}
TRELLO_API_KEY: ${{ secrets.TRELLO_API_KEY }}
TRELLO_API_TOKEN: ${{ secrets.TRELLO_API_TOKEN }}