File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 4646 - name : Build for production
4747 run : npm run build:prod --if-present
4848
49+ - name : Add .nojekyll file
50+ run : touch dist/.nojekyll
51+
4952 - name : Add 404.html file
50- run : cp docs /index.html docs /404.html
53+ run : cp dist /index.html dist /404.html
5154
5255 - name : Setup Pages
5356 uses : actions/configure-pages@v5
5760 uses : actions/upload-pages-artifact@v4
5861 with :
5962 # Upload dist folder
60- path : ' ./docs '
63+ path : ' ./dist '
6164
6265 - name : Deploy to GitHub Pages
6366 id : deployment
Original file line number Diff line number Diff line change 1818 "builder" : " @angular-devkit/build-angular:application" ,
1919 "options" : {
2020 "baseHref" : " /Portfolio/" ,
21- "outputPath" : " docs " ,
21+ "outputPath" : " dist " ,
2222 "index" : " src/index.html" ,
2323 "polyfills" : [
2424 " src/polyfills.ts"
You can’t perform that action at this time.
0 commit comments