Skip to content

Commit 694f5ef

Browse files
committed
fix: project create
1 parent dfcd34d commit 694f5ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/taito-template/init.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ function prune () {
6262
sed -i "s/\"check-size:$name {@}\" //g" package.json
6363

6464
# TODO: temporary solution. remove once using terraform v0.12
65+
if [[ -f scripts/terraform/common/gcloud-uptime/uptime.tf ]]; then
6566
sed -i "/^ {\\/\\*$name\\*\\/\$/,/^ }.*$/d" \
66-
scripts/terraform/common/gcloud/monitoring.tf
67+
scripts/terraform/common/gcloud-uptime/uptime.tf
68+
fi
6769

6870
# Prune target from CI/CD scripts
6971
sed -i "/^action \"artifact:$name\"/,/^}$/d" .github/main.workflow

0 commit comments

Comments
 (0)