Skip to content

Commit 59c5441

Browse files
committed
testing
1 parent 7c77e4d commit 59c5441

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@ jobs:
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
@@ -57,7 +60,7 @@ jobs:
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

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
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"

0 commit comments

Comments
 (0)