Skip to content

Commit

Permalink
Merge pull request #350 from Uniswap/fix-codestar
Browse files Browse the repository at this point in the history
fix: use codestar connection
  • Loading branch information
ConjunctiveNormalForm authored Jul 9, 2024
2 parents 55ee061 + 703559e commit e7aa517
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/app.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as cdk from 'aws-cdk-lib';
import { CfnOutput, SecretValue, Stack, StackProps, Stage, StageProps } from 'aws-cdk-lib';
import { CfnOutput, Stack, StackProps, Stage, StageProps } from 'aws-cdk-lib';
import * as chatbot from 'aws-cdk-lib/aws-chatbot';
import { BuildEnvironmentVariableType, BuildSpec } from 'aws-cdk-lib/aws-codebuild';
import { PipelineNotificationEvents } from 'aws-cdk-lib/aws-codepipeline';
Expand Down Expand Up @@ -47,8 +47,9 @@ export class APIPipeline extends Stack {
constructor(scope: Construct, id: string, props?: StackProps) {
super(scope, id, props);

const code = CodePipelineSource.gitHub('Uniswap/uniswapx-parameterization-api', 'main', {
authentication: SecretValue.secretsManager('github-token-2'),
const code = CodePipelineSource.connection('Uniswap/uniswapx-parameterization-api', 'main', {
connectionArn:
'arn:aws:codestar-connections:us-east-2:644039819003:connection/4806faf1-c31e-4ea2-a5bf-c6fc1fa79487',
});

const synthStep = new CodeBuildStep('Synth', {
Expand Down

0 comments on commit e7aa517

Please sign in to comment.