Skip to content

Commit

Permalink
chore: add ejs config file
Browse files Browse the repository at this point in the history
  • Loading branch information
diomalta committed Jul 30, 2024
1 parent 9930e11 commit 5da42fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kubectl/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ cat > __deploy_sts.ts <<EOF
EOF

(
cat deploy/*.ejs 2>/dev/null > tmp_deploy_ejs.yml
echo "---"
ts-node __deploy.ts
for file in $(ls deploy/*.yml 2>/dev/null); do
echo "---"
grep -q "<%" $file && cat $file
done > tmp_deploy_ejs.yml
done >> tmp_deploy_ejs.yml
ejs-cli tmp_deploy_ejs.yml
for file in $(ls deploy/*.yml 2>/dev/null); do
echo "---"
Expand Down

0 comments on commit 5da42fe

Please sign in to comment.