Skip to content

Commit

Permalink
Merge pull request #6 from arahiko-ayami/main
Browse files Browse the repository at this point in the history
ci: custom domain env
  • Loading branch information
arahiko-ayami authored Feb 9, 2024
2 parents 0e48237 + 1e43827 commit 6a60e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/prod-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Deploy KMA Score API - Prod environment
env:
DB_URL: ${{ secrets.DB_URL }}
CERTIFICATE_ARN: ${{ secrets.CERTIFICATE_ARN }}
CUSTOM_DOMAIN: ${{ secrets.CUSTOM_DOMAIN }}

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion stacks/ApiStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function API(stackContext: StackContext) {
customDomain: app.local
? undefined
: {
domainName: 'alphascore.dqtio.com',
domainName: process.env.CUSTOM_DOMAIN,
isExternalDomain: true,
cdk: {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
Expand Down

0 comments on commit 6a60e88

Please sign in to comment.