diff --git a/packages/cli/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/github-pages.yml b/packages/cli/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/github-pages.yml index 1f58d31f8..f5f154154 100644 --- a/packages/cli/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/github-pages.yml +++ b/packages/cli/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/github-pages.yml @@ -13,6 +13,7 @@ jobs: permissions: pages: write id-token: write + actions: read environment: name: github-pages @@ -40,8 +41,8 @@ jobs: - name: SPA routing handling run: cp ./dist/index.html ./dist/404.html - name: Upload build artifact to GitHub Pages - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./dist - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/packages/cli/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/github-pages.yml b/packages/cli/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/github-pages.yml index 51df0793a..66e39ddea 100644 --- a/packages/cli/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/github-pages.yml +++ b/packages/cli/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/github-pages.yml @@ -13,6 +13,7 @@ jobs: permissions: pages: write id-token: write + actions: read environment: name: github-pages @@ -47,8 +48,8 @@ jobs: - name: SPA routing handling run: cp ./dist/index.html ./dist/404.html - name: Upload build artifact to GitHub Pages - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./dist - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/packages/igx-templates/igx-ts-legacy/projects/_base/files/__dot__github/workflows/github-pages.yml b/packages/igx-templates/igx-ts-legacy/projects/_base/files/__dot__github/workflows/github-pages.yml index eca49fe08..58df51475 100644 --- a/packages/igx-templates/igx-ts-legacy/projects/_base/files/__dot__github/workflows/github-pages.yml +++ b/packages/igx-templates/igx-ts-legacy/projects/_base/files/__dot__github/workflows/github-pages.yml @@ -13,6 +13,7 @@ jobs: permissions: pages: write id-token: write + actions: read environment: name: github-pages @@ -39,8 +40,8 @@ jobs: - name: SPA routing handling run: cp ./dist/${{ env.PROJECT_NAME }}/browser/index.html ./dist/${{ env.PROJECT_NAME }}/browser/404.html - name: Upload build artifact to GitHub Pages - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./dist/${{ env.PROJECT_NAME }}/browser - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/packages/igx-templates/igx-ts-legacy/projects/_base_with_home/files/__dot__github/workflows/github-pages.yml b/packages/igx-templates/igx-ts-legacy/projects/_base_with_home/files/__dot__github/workflows/github-pages.yml index 0c743a5bd..97be9c306 100644 --- a/packages/igx-templates/igx-ts-legacy/projects/_base_with_home/files/__dot__github/workflows/github-pages.yml +++ b/packages/igx-templates/igx-ts-legacy/projects/_base_with_home/files/__dot__github/workflows/github-pages.yml @@ -13,6 +13,7 @@ jobs: permissions: pages: write id-token: write + actions: read environment: name: github-pages @@ -39,8 +40,8 @@ jobs: - name: SPA routing handling run: cp ./dist/${{ env.PROJECT_NAME }}/browser/index.html ./dist/${{ env.PROJECT_NAME }}/browser/404.html - name: Upload build artifact to GitHub Pages - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./dist/${{ env.PROJECT_NAME }}/browser - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/packages/igx-templates/igx-ts/projects/_base/files/__dot__github/workflows/github-pages.yml b/packages/igx-templates/igx-ts/projects/_base/files/__dot__github/workflows/github-pages.yml index eca49fe08..58df51475 100644 --- a/packages/igx-templates/igx-ts/projects/_base/files/__dot__github/workflows/github-pages.yml +++ b/packages/igx-templates/igx-ts/projects/_base/files/__dot__github/workflows/github-pages.yml @@ -13,6 +13,7 @@ jobs: permissions: pages: write id-token: write + actions: read environment: name: github-pages @@ -39,8 +40,8 @@ jobs: - name: SPA routing handling run: cp ./dist/${{ env.PROJECT_NAME }}/browser/index.html ./dist/${{ env.PROJECT_NAME }}/browser/404.html - name: Upload build artifact to GitHub Pages - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./dist/${{ env.PROJECT_NAME }}/browser - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/packages/igx-templates/igx-ts/projects/_base_with_home/files/__dot__github/workflows/github-pages.yml b/packages/igx-templates/igx-ts/projects/_base_with_home/files/__dot__github/workflows/github-pages.yml index eca49fe08..58df51475 100644 --- a/packages/igx-templates/igx-ts/projects/_base_with_home/files/__dot__github/workflows/github-pages.yml +++ b/packages/igx-templates/igx-ts/projects/_base_with_home/files/__dot__github/workflows/github-pages.yml @@ -13,6 +13,7 @@ jobs: permissions: pages: write id-token: write + actions: read environment: name: github-pages @@ -39,8 +40,8 @@ jobs: - name: SPA routing handling run: cp ./dist/${{ env.PROJECT_NAME }}/browser/index.html ./dist/${{ env.PROJECT_NAME }}/browser/404.html - name: Upload build artifact to GitHub Pages - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./dist/${{ env.PROJECT_NAME }}/browser - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4