@codedrifters/configulator 0.0.93 → 0.0.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.mjs CHANGED
@@ -1356,6 +1356,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component10 {
1356
1356
  constructor(project, options = {}) {
1357
1357
  super(project);
1358
1358
  this.project = project;
1359
+ this.options = options;
1359
1360
  /**
1360
1361
  * AWS environment type, such as primary or secondary.
1361
1362
  *
@@ -1408,6 +1409,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component10 {
1408
1409
  if (branchPattern.includes("*")) {
1409
1410
  const prefix = branchPattern.replace(/\*.*$/, "");
1410
1411
  conditions.push(`startsWith(github.ref, 'refs/heads/${prefix}')`);
1412
+ conditions.push(`startsWith(github.head_ref, '${prefix}')`);
1411
1413
  } else {
1412
1414
  conditions.push(`github.ref == 'refs/heads/${branchPattern}'`);
1413
1415
  }