File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
packages/igx-templates/igx-ts-legacy/projects
_base_with_home/files/__dot__github/workflows Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 3434 "prefix" : " app" ,
3535 "style" : " kebab-case"
3636 }
37- ]
37+ ],
38+ "@angular-eslint/prefer-standalone" : " off"
3839 }
3940 },
4041 {
Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ jobs:
3535 - name : Build project with dynamic base-href
3636 run : npm run build -- --base-href "/${{ github.event.repository.name }}/"
3737 - name : Update Resource Paths
38- run : find ./dist/${{ env.PROJECT_NAME }} -type f -name '*main*.js' -exec sed -i -e "s|/assets|/${{ github.event.repository.name }}/assets|g" -e "s|url('/assets|url('/${{ github.event.repository.name }}/assets|g" {} +
38+ run : find ./dist/${{ env.PROJECT_NAME }}/browser -type f -name '*main*.js' -exec sed -i -e "s|/assets|/${{ github.event.repository.name }}/assets|g" -e "s|url('/assets|url('/${{ github.event.repository.name }}/assets|g" {} +
3939 - name : SPA routing handling
40- run : cp ./dist/${{ env.PROJECT_NAME }}/index.html ./dist/${{ env.PROJECT_NAME }}/404.html
40+ run : cp ./dist/${{ env.PROJECT_NAME }}/browser/ index.html ./dist/${{ env.PROJECT_NAME }}/browser /404.html
4141 - name : Upload build artifact to GitHub Pages
4242 uses : actions/upload-pages-artifact@v1
4343 with :
44- path : ./dist/${{ env.PROJECT_NAME }}
44+ path : ./dist/${{ env.PROJECT_NAME }}/browser
4545 - name : Deploy to GitHub Pages
4646 uses : actions/deploy-pages@v1
Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ jobs:
3535 - name : Build project with dynamic base-href
3636 run : npm run build -- --base-href "/${{ github.event.repository.name }}/"
3737 - name : Update Resource Paths
38- run : find ./dist/${{ env.PROJECT_NAME }} -type f -name '*main*.js' -exec sed -i -e "s|/assets|/${{ github.event.repository.name }}/assets|g" -e "s|url('/assets|url('/${{ github.event.repository.name }}/assets|g" {} +
38+ run : find ./dist/${{ env.PROJECT_NAME }}/browser -type f -name '*main*.js' -exec sed -i -e "s|/assets|/${{ github.event.repository.name }}/assets|g" -e "s|url('/assets|url('/${{ github.event.repository.name }}/assets|g" {} +
3939 - name : SPA routing handling
40- run : cp ./dist/${{ env.PROJECT_NAME }}/index.html ./dist/${{ env.PROJECT_NAME }}/404.html
40+ run : cp ./dist/${{ env.PROJECT_NAME }}/browser/ index.html ./dist/${{ env.PROJECT_NAME }}/browser /404.html
4141 - name : Upload build artifact to GitHub Pages
4242 uses : actions/upload-pages-artifact@v1
4343 with :
44- path : ./dist/${{ env.PROJECT_NAME }}
44+ path : ./dist/${{ env.PROJECT_NAME }}/browser
4545 - name : Deploy to GitHub Pages
4646 uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments