Skip to content

Commit 37ec3f2

Browse files
fix: CICD for CDK
1 parent 2746309 commit 37ec3f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cdk-basic/deploy-yaml.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ awk '
1616

1717
# Cdk synth sometimes generates a dummy notification line at the top of the file.
1818
# Remove the first part of the template up to and including the Resources section
19-
awk 'f{print} /^Resources:/ {f=1; print}' template.patched.yaml > CdkbasicStack.yaml
19+
awk 'f{print} /^Resources:/ {f=1; print}' template.patched.yaml | awk '/\[cdk:skip\]/{exit} {print}' > CdkbasicStack.yaml
2020

2121
echo "Deploying stack with the following template:"
2222
echo "-------------------------------------------"

0 commit comments

Comments
 (0)