Skip to content

Commit

Permalink
reverts potentially unecessary mwc deploy changes (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
scandycuz authored May 23, 2024
1 parent 31262ee commit 81d3f2c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/cdk/bin/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,19 @@ 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 rootDir = path.resolve(__dirname, "..", "..", "..", "..");

class WebDeployStack extends cdk.Stack {
constructor(scope: Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);

const recaptchaKey =
process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY_STAGING || "";

const deployFunction = new lambda.DockerImageFunction(
this,
"DeployFunction",
{
code: lambda.DockerImageCode.fromImageAsset(rootDir, {
buildArgs: {
NEXT_PUBLIC_RECAPTCHA_SITE_KEY_STAGING: recaptchaKey,
},
file: path.join("apps", appName, "Dockerfile"),
}),
environment: {
Expand Down

0 comments on commit 81d3f2c

Please sign in to comment.