Skip to content

Commit cdf8f4b

Browse files
authored
remove deployment script flag and if condition in github pages workflow (#1351)
1 parent a634450 commit cdf8f4b

File tree

14 files changed

+21
-25
lines changed

14 files changed

+21
-25
lines changed

packages/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "igniteui-cli",
3-
"version": "14.3.1",
3+
"version": "14.3.2-beta.0",
44
"description": "CLI tool for creating Ignite UI projects",
55
"keywords": [
66
"CLI",
@@ -78,8 +78,8 @@
7878
"all": true
7979
},
8080
"dependencies": {
81-
"@igniteui/angular-templates": "~19.0.1431",
82-
"@igniteui/cli-core": "~14.3.1",
81+
"@igniteui/angular-templates": "~19.0.1432-beta.0",
82+
"@igniteui/cli-core": "~14.3.2-beta.0",
8383
"@inquirer/prompts": "^5.4.0",
8484
"@types/yargs": "^17.0.33",
8585
"chalk": "^5.3.0",

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

Lines changed: 2 additions & 2 deletions
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:
@@ -38,7 +38,7 @@ jobs:
3838
- name: Copy Resources to dist
3939
run: mkdir -p ./dist/assets && cp -R ./src/assets/* ./dist/assets/
4040
- name: SPA routing handling
41-
run: cp .dist/index.html .dist/404.html
41+
run: cp ./dist/index.html ./dist/404.html
4242
- name: Upload build artifact to GitHub Pages
4343
uses: actions/upload-pages-artifact@v1
4444
with:

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: 2 additions & 2 deletions
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:
@@ -40,7 +40,7 @@ jobs:
4040
- name: Update href Paths for ig-theme.css
4141
run: find ./dist -type f -exec sed -i "s|href=\"../../ig-theme.css\"|href=\"../../${{ github.event.repository.name }}/ig-theme.css\"|g" {} +
4242
- name: SPA routing handling
43-
run: cp .dist/index.html .dist/404.html
43+
run: cp ./dist/index.html ./dist/404.html
4444
- name: Upload build artifact to GitHub Pages
4545
uses: actions/upload-pages-artifact@v1
4646
with:

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/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@igniteui/cli-core",
3-
"version": "14.3.1",
3+
"version": "14.3.2-beta.0",
44
"description": "Base types and functionality for Ignite UI CLI",
55
"repository": {
66
"type": "git",

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:

0 commit comments

Comments
 (0)