Skip to content

Commit 5a9806e

Browse files
Hristo HristovHristo Hristov
authored andcommitted
fix: remove yaml generate deployment script flag and if condition for disable the workflow
1 parent 2fedb28 commit 5a9806e

File tree

10 files changed

+10
-14
lines changed

10 files changed

+10
-14
lines changed

packages/cli/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build-and-deploy:
10-
if: $(yamlGenerateDeploymentScript) == true
10+
1111
runs-on: ubuntu-latest
1212

1313
permissions:

packages/cli/templates/react/igr-ts/projects/_base/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ export class BaseIgrTsProject implements ProjectTemplate {
4242
"dot": ".",
4343
"path": name,
4444
"projectTemplate": this.id,
45-
"yamlDefaultBranch": this.id === "base" ? "<%=yaml-default-branch%>" : "main",
46-
"yamlGenerateDeploymentScript": "<%=yaml-generate-deployment-script%>"
45+
"yamlDefaultBranch": this.id === "base" ? "<%=yaml-default-branch%>" : "main"
4746
};
4847
}
4948
}

packages/cli/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build-and-deploy:
10-
if: $(yamlGenerateDeploymentScript) == true
10+
1111
runs-on: ubuntu-latest
1212

1313
permissions:

packages/cli/templates/webcomponents/igc-ts/projects/_base/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ export class BaseIgcProject implements ProjectTemplate {
3737
dot: ".",
3838
path: name,
3939
projectTemplate: this.id,
40-
yamlDefaultBranch: this.id === "base" ? "<%=yaml-default-branch%>" : "main",
41-
yamlGenerateDeploymentScript: "<%=yaml-generate-deployment-script%>"
40+
yamlDefaultBranch: this.id === "base" ? "<%=yaml-default-branch%>" : "main"
4241
};
4342

4443
return config;

packages/igx-templates/igx-ts-legacy/projects/_base/files/__dot__github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build-and-deploy:
10-
if: <%=yamlGenerateDeploymentScript%> == true
10+
1111
runs-on: ubuntu-latest
1212

1313
permissions:

packages/igx-templates/igx-ts-legacy/projects/_base/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ $app-palette: palette($primary, $secondary, $surface);
6666
path: name,
6767
projectTemplate: this.id,
6868
yamlDefaultBranch: "<%=yaml-default-branch%>", // the placeholder will be evaluated by CodeGen
69-
ApplicationTitle: "<%=ApplicationTitle%>", // the placeholder will be evaluated by CodeGen
70-
yamlGenerateDeploymentScript: "<%=yaml-generate-deployment-script%>" // the placeholder will be evaluated by CodeGen
69+
ApplicationTitle: "<%=ApplicationTitle%>" // the placeholder will be evaluated by CodeGen
7170
};
7271

7372
switch (theme) {

packages/igx-templates/igx-ts-legacy/projects/_base_with_home/files/__dot__github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build-and-deploy:
10-
if: <%=yamlGenerateDeploymentScript%> == true
10+
1111
runs-on: ubuntu-latest
1212

1313
permissions:

packages/igx-templates/igx-ts/projects/_base/files/__dot__github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build-and-deploy:
10-
if: <%=yamlGenerateDeploymentScript%> == true
10+
1111
runs-on: ubuntu-latest
1212

1313
permissions:

packages/igx-templates/igx-ts/projects/_base/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ $app-palette: palette($primary, $secondary, $surface);
6767
projectTemplate: this.id,
6868
igxPackage: NPM_ANGULAR,
6969
yamlDefaultBranch: "<%=yaml-default-branch%>", // the placeholder will be evaluated by CodeGen
70-
ApplicationTitle: "<%=ApplicationTitle%>", // the placeholder will be evaluated by CodeGen
71-
yamlGenerateDeploymentScript: "<%=yaml-generate-deployment-script%>" // the placeholder will be evaluated by CodeGen
70+
ApplicationTitle: "<%=ApplicationTitle%>" // the placeholder will be evaluated by CodeGen
7271
};
7372

7473
switch (theme) {

packages/igx-templates/igx-ts/projects/_base_with_home/files/__dot__github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build-and-deploy:
10-
if: <%=yamlGenerateDeploymentScript%> == true
10+
1111
runs-on: ubuntu-latest
1212

1313
permissions:

0 commit comments

Comments
 (0)