Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syntax for multiple source and synth actions for CodePipeline #405

Open
geovin89 opened this issue May 31, 2022 · 1 comment
Open

Add syntax for multiple source and synth actions for CodePipeline #405

geovin89 opened this issue May 31, 2022 · 1 comment

Comments

@geovin89
Copy link

geovin89 commented May 31, 2022

const pipeline = new CodePipeline(this, 'Pipeline', {
      pipelineName: 'MyPipeline',
      synth: new ShellStep('Synth', {
        input: CodePipelineSource.gitHub('OWNER/REPO', 'main'),
        commands: ['npm ci', 'npm run build', 'npx cdk synth']
      })
    });

Can you add example for code pipelines that has multiple input sources (possibly with different language, like CDK code in typescript and lambda in java)?

@geovin89
Copy link
Author

geovin89 commented Jun 9, 2022

Can anyone provide an example as a comment to this? I am looking for how to actually achieve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant