Skip to content

Commit

Permalink
Merge pull request #18 from annyDot/dev
Browse files Browse the repository at this point in the history
fixes for gh pages
  • Loading branch information
annyDot authored Feb 2, 2025
2 parents 6464592 + 7a69029 commit 0e582e0
Show file tree
Hide file tree
Showing 3 changed files with 529 additions and 239 deletions.
19 changes: 1 addition & 18 deletions apps/myproject/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,25 +98,8 @@
"replace": "apps/myproject/src/environments/environment.ts",
"with": "apps/myproject/src/environments/environment.prod.ts"
},
"predeploy": {
"executor": "nx:run-commands",
"options": {
"commands": [
"npx nx build myproject --base-href /myproject/ --deploy-url /myproject/",
"npx nx compodoc myproject"
],
"parallel": false
}
},
"deploy": {
"executor": "nx-github-pages:deploy",
"dependsOn": [
"predeploy"
],
"options": {
"remote": "[email protected]:annydot/myproject.git",
"directory": "dist/apps/myproject/browser"
}
"executor": "angular-cli-ghpages:deploy"
}
}
}
Loading

0 comments on commit 0e582e0

Please sign in to comment.