Skip to content

Commit

Permalink
fix(cli-plugin-deploy-pulumi): specify explicit file types for replac…
Browse files Browse the repository at this point in the history
…ements
  • Loading branch information
Pavel910 committed Jun 7, 2024
1 parent dbfbc15 commit 87c297c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = async ({ projectApplication, inputs }) => {
// Wait a bit and make sure the files are ready to have its content replaced.
await new Promise(resolve => setTimeout(resolve, 10));

replaceInPath(path.join(projectApplication.paths.workspace, "/**/*.*"), [
replaceInPath(path.join(projectApplication.paths.workspace, "/**/*.{ts,js,yaml}"), [
{ find: "{PROJECT_ID}", replaceWith: projectApplication.id },
{ find: "{PROJECT_DESCRIPTION}", replaceWith: projectApplication.description },
{ find: "{DEPLOY_ENV}", replaceWith: inputs.env }
Expand Down

0 comments on commit 87c297c

Please sign in to comment.