This repository was archived by the owner on Nov 4, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed
workshop/content/buildpipe/pipeascode Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,10 @@ pipeline.addStage({
4343```
4444
4545{{%expand "Click here to see how the entire file should look like" %}}
46- ``` js
46+
47+ The highlighted code is the new addition:
48+
49+ {{< highlight js "hl_lines=44-68" >}}
4750// lib/pipeline-stack.ts
4851
4952import * as cdk from '@aws-cdk/core ';
@@ -115,7 +118,7 @@ export class PipelineStack extends cdk.Stack {
115118
116119 }
117120}
118- ```
121+ {{< / highlight >}}
119122{{% /expand%}}
120123
121124### Deploy the pipeline
Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ pipeline.addStage({
3232```
3333
3434{{%expand "Click here to see how the entire file should look like" %}}
35- ``` js
35+
36+ The highlighted code is the new addition:
37+
38+ {{< highlight js "hl_lines=70-89" >}}
3639// lib/pipeline-stack.ts
3740
3841import * as cdk from '@aws-cdk/core ';
@@ -125,7 +128,7 @@ export class PipelineStack extends cdk.Stack {
125128
126129 }
127130}
128- ```
131+ {{< / highlight >}}
129132{{% /expand%}}
130133
131134### Deploy the pipeline
Original file line number Diff line number Diff line change @@ -38,7 +38,10 @@ pipeline.addStage({
3838```
3939
4040{{%expand "Click here to see how the entire file should look like" %}}
41- ``` js
41+
42+ The highlighted code is the new addition:
43+
44+ {{< highlight js "hl_lines=16-41" >}}
4245// lib/pipeline-stack.ts
4346
4447import * as cdk from '@aws-cdk/core ';
@@ -82,7 +85,7 @@ export class PipelineStack extends cdk.Stack {
8285 });
8386 }
8487}
85- ```
88+ {{< / highlight >}}
8689{{% /expand%}}
8790
8891Since we already have the CodeCommit repository, we don't need to create a new one, we just need to import it using the repository name.
You can’t perform that action at this time.
0 commit comments