Skip to content

Commit db6d0ea

Browse files
authored
fix(github-pages): upgrade github pages deploy and artefact versions (#1366)
1 parent ceba1ff commit db6d0ea

File tree

6 files changed

+18
-12
lines changed

6 files changed

+18
-12
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
permissions:
1414
pages: write
1515
id-token: write
16+
actions: read
1617

1718
environment:
1819
name: github-pages
@@ -40,8 +41,8 @@ jobs:
4041
- name: SPA routing handling
4142
run: cp ./dist/index.html ./dist/404.html
4243
- name: Upload build artifact to GitHub Pages
43-
uses: actions/upload-pages-artifact@v1
44+
uses: actions/upload-pages-artifact@v3
4445
with:
4546
path: ./dist
4647
- name: Deploy to GitHub Pages
47-
uses: actions/deploy-pages@v1
48+
uses: actions/deploy-pages@v4

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
permissions:
1414
pages: write
1515
id-token: write
16+
actions: read
1617

1718
environment:
1819
name: github-pages
@@ -47,8 +48,8 @@ jobs:
4748
- name: SPA routing handling
4849
run: cp ./dist/index.html ./dist/404.html
4950
- name: Upload build artifact to GitHub Pages
50-
uses: actions/upload-pages-artifact@v1
51+
uses: actions/upload-pages-artifact@v3
5152
with:
5253
path: ./dist
5354
- name: Deploy to GitHub Pages
54-
uses: actions/deploy-pages@v1
55+
uses: actions/deploy-pages@v4

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
permissions:
1414
pages: write
1515
id-token: write
16+
actions: read
1617

1718
environment:
1819
name: github-pages
@@ -39,8 +40,8 @@ jobs:
3940
- name: SPA routing handling
4041
run: cp ./dist/${{ env.PROJECT_NAME }}/browser/index.html ./dist/${{ env.PROJECT_NAME }}/browser/404.html
4142
- name: Upload build artifact to GitHub Pages
42-
uses: actions/upload-pages-artifact@v1
43+
uses: actions/upload-pages-artifact@v3
4344
with:
4445
path: ./dist/${{ env.PROJECT_NAME }}/browser
4546
- name: Deploy to GitHub Pages
46-
uses: actions/deploy-pages@v1
47+
uses: actions/deploy-pages@v4

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
permissions:
1414
pages: write
1515
id-token: write
16+
actions: read
1617

1718
environment:
1819
name: github-pages
@@ -39,8 +40,8 @@ jobs:
3940
- name: SPA routing handling
4041
run: cp ./dist/${{ env.PROJECT_NAME }}/browser/index.html ./dist/${{ env.PROJECT_NAME }}/browser/404.html
4142
- name: Upload build artifact to GitHub Pages
42-
uses: actions/upload-pages-artifact@v1
43+
uses: actions/upload-pages-artifact@v3
4344
with:
4445
path: ./dist/${{ env.PROJECT_NAME }}/browser
4546
- name: Deploy to GitHub Pages
46-
uses: actions/deploy-pages@v1
47+
uses: actions/deploy-pages@v4

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
permissions:
1414
pages: write
1515
id-token: write
16+
actions: read
1617

1718
environment:
1819
name: github-pages
@@ -39,8 +40,8 @@ jobs:
3940
- name: SPA routing handling
4041
run: cp ./dist/${{ env.PROJECT_NAME }}/browser/index.html ./dist/${{ env.PROJECT_NAME }}/browser/404.html
4142
- name: Upload build artifact to GitHub Pages
42-
uses: actions/upload-pages-artifact@v1
43+
uses: actions/upload-pages-artifact@v3
4344
with:
4445
path: ./dist/${{ env.PROJECT_NAME }}/browser
4546
- name: Deploy to GitHub Pages
46-
uses: actions/deploy-pages@v1
47+
uses: actions/deploy-pages@v4

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
permissions:
1414
pages: write
1515
id-token: write
16+
actions: read
1617

1718
environment:
1819
name: github-pages
@@ -39,8 +40,8 @@ jobs:
3940
- name: SPA routing handling
4041
run: cp ./dist/${{ env.PROJECT_NAME }}/browser/index.html ./dist/${{ env.PROJECT_NAME }}/browser/404.html
4142
- name: Upload build artifact to GitHub Pages
42-
uses: actions/upload-pages-artifact@v1
43+
uses: actions/upload-pages-artifact@v3
4344
with:
4445
path: ./dist/${{ env.PROJECT_NAME }}/browser
4546
- name: Deploy to GitHub Pages
46-
uses: actions/deploy-pages@v1
47+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)