Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/dashboard-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,11 @@ jobs:
uses: NHSDigital/gp2gp-reporting-infrastructure/.github/workflows/deploy-stack.yml@v3
with:
environment: ${{ inputs.environment }}
is_deployment: ${{ github.ref == 'refs/heads/main' }}
is_deployment: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
terraform_stack: gp2gp_dashboard
image_tag: gp2gp-dashboard
hyphenated_alias: gp2gp-dashboard
build_lambda: true
git_ref: ${{ github.ref }}
secrets: inherit

redeploy_gp2gp_infrastructure_step_functions:
Expand All @@ -106,8 +105,7 @@ jobs:
uses: NHSDigital/gp2gp-reporting-infrastructure/.github/workflows/deploy-stack.yml@v3
with:
environment: ${{ inputs.environment }}
is_deployment: ${{ github.ref == 'refs/heads/main' }}
is_deployment: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
terraform_stack: step_function
hyphenated_alias: step-function
git_ref: ${{ github.ref }}
secrets: inherit
2 changes: 1 addition & 1 deletion dashboard/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
bucketName: `${process.env.DEPLOYMENT_BUCKET}`,
region: "eu-west-2",
parallelLimit: 1000,
acl: "public-read",
acl: "bucket-owner-full-control",
},
},
{
Expand Down
Loading