Skip to content

Commit a6f50ff

Browse files
committed
XXXXX OOPS! something went wrong... again XXXXX THIS IS A *** HOT MESS ***!!
- REF: https://alligator.io/angular/deploying-angular-app-github-pages/ - trying angular-cli-ghpages again - ng build --prod --base-href "cbakerphoto" - ng --dry-run - ngh --message="Another deploy attempt via angular-cli-ghpages" NO! DO-OVER! - REF: https://medium.com/tech-insights/how-to-deploy-angular-apps-to-github-pages-gh-pages-896c4e10f9b4 - ng build --prod --base-href "https://shigimcp.github.io/cbakerphoto/" - npx angular-cli-ghpages — dir=dist/cbakerphoto - OOPS! npx angular-cli-ghpages — dir=dist/cbakerphoto-app/ - RESULT: 404 error at https://shigimcp.github.io/cbakerphoto/ DO OVER! AGAIN! - REF: angular-schule/angular-cli-ghpages#37 - REF: https://angular.io/guide/deployment#deploy-to-github-pages - ng build --prod --output-path ../docs --base-href /cbakerphoto-app/ - npx angular-cli-ghpages — dir=dist/cbakerphoto-app/ - REF: https://medium.com/tech-insights/how-to-deploy-angular-apps-to-github-pages-gh-pages-896c4e10f9b4 - ng build —base-href="https://shigimcp.github.io/cbakerphoto/" - OH, FUGGIT! I'm just scrambling now...
1 parent f73a17a commit a6f50ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cbakerphoto-app/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build": {
1818
"builder": "@angular-devkit/build-angular:browser",
1919
"options": {
20-
"outputPath": "dist/cbakerphoto-app",
20+
"outputPath": "dist/",
2121
"index": "src/index.html",
2222
"main": "src/main.ts",
2323
"polyfills": "src/polyfills.ts",

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<title>CbakerphotoApp</title>
6-
<base href="/shigimcp/cbakerphoto/"> <meta name="viewport" content="width=device-width, initial-scale=1">
6+
<base href="/cbakerphoto-app/"> <meta name="viewport" content="width=device-width, initial-scale=1">
77
<link rel="icon" type="image/x-icon" href="favicon.ico">
88
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet">
99
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

0 commit comments

Comments
 (0)