Skip to content

Commit

Permalink
wire the new codeDomain into the riff-raff.yaml (making use of the …
Browse files Browse the repository at this point in the history
…new `prefixStagePaths` in guardian/riff-raff#1015)
  • Loading branch information
twrichards committed Apr 17, 2023
1 parent 78892d7 commit 2d7a0a1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,20 @@ runs:
templatePath:
templateStagePaths:
PROD: cfn.json
${{ inputs.codeDomain && 'CODE: cfn-CODE.json' || '' }}
CODE: cfn-CODE.json
static-site-assets:
type: aws-s3
app: ${{ inputs.domain }} # A hack to prefix uploads with the domain.
app: ${{ inputs.app }}
parameters:
cacheControl: private
publicReadAcl: false
bucketSsmKeyStageParam:
PROD: /INFRA/deploy/actions-static-site-infra/bucket
CODE: /INFRA/deploy/actions-static-site-infra/codeBucket
prefixApp: true # See comment on `app` above.
prefixStagePaths:
PROD: ${{ inputs.domain }}
CODE: ${{ inputs.codeDomain }}
prefixApp: false
prefixStack: false
prefixStage: false
dependencies:
Expand Down

0 comments on commit 2d7a0a1

Please sign in to comment.