Skip to content

Commit

Permalink
Revert mwc deploy changes 2 (#651)
Browse files Browse the repository at this point in the history
* Revert "reverts potentially unecessary mwc deploy changes (#650)"

This reverts commit 81d3f2c.

* removes environment option from mwc cdk deploy
  • Loading branch information
scandycuz authored May 23, 2024
1 parent 81d3f2c commit f241615
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cdk/bin/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { Tags } from "aws-cdk-lib";

const appName = process.env.APPNAME || "APPNAME";
const appId = process.env.APPID || "APPID";
const recaptchaKey = process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY_STAGING || "";
const qualifier = process.env.QUALIFIER || "UNDEFINED";
const recaptchaKey = process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY_STAGING || "";
const rootDir = path.resolve(__dirname, "..", "..", "..", "..");

class WebDeployStack extends cdk.Stack {
Expand All @@ -22,11 +22,11 @@ class WebDeployStack extends cdk.Stack {
"DeployFunction",
{
code: lambda.DockerImageCode.fromImageAsset(rootDir, {
buildArgs: {
NEXT_PUBLIC_RECAPTCHA_SITE_KEY_STAGING: recaptchaKey,
},
file: path.join("apps", appName, "Dockerfile"),
}),
environment: {
NEXT_PUBLIC_RECAPTCHA_SITE_KEY_STAGING: recaptchaKey,
},
memorySize: 1024,
}
);
Expand Down

0 comments on commit f241615

Please sign in to comment.