File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,11 +23,10 @@ jobs:
2323
2424 - name : Install Dependencies 🔧
2525 run : npm install --no-package-lock
26+ - run : npm run build -- --prod --baseHref=/angular-jss/
2627
27- - run : |
28- git config user.name "GitHub Actions Bot"
29- git config user.email "<>"
30-
31- - name : Build & Deploy 🚀
32- run : |
33- npm run deploy -- --message="docs(package): gh-pages"
28+ - name : Deploy to GitHub Pages 🚀
29+ uses : peaceiris/actions-gh-pages@v3
30+ with :
31+ github_token : ${{ secrets.GITHUB_TOKEN }}
32+ publish_dir : ./dist/apps/webpage
Original file line number Diff line number Diff line change 3030 "dep-graph" : " nx dep-graph" ,
3131 "help" : " nx help" ,
3232 "prerelease" : " nx affected:build --all" ,
33- "release" : " nx affected --target release --all" ,
34- "predeploy" : " npm run build -- --prod --baseHref=/angular-jss/" ,
35- "deploy" : " gh-pages -d dist/apps/webpage"
33+ "release" : " nx affected --target release --all"
3634 },
3735 "private" : true ,
3836 "dependencies" : {
4543 "@angular/platform-browser-dynamic" : " ~13.2.0" ,
4644 "@angular/router" : " ~13.2.0" ,
4745 "@nrwl/angular" : " 13.8.4" ,
46+ "highlight.js" : " ^11.4.0" ,
4847 "jss" : " ^10.9.0" ,
4948 "jss-plugin-camel-case" : " ^10.9.0" ,
5049 "jss-plugin-global" : " ^10.9.0" ,
5150 "jss-plugin-rule-value-function" : " ^10.9.0" ,
51+ "jss-preset-default" : " ^10.9.0" ,
52+ "ngx-highlightjs" : " ^6.1.1" ,
5253 "rxjs" : " ~7.4.0" ,
5354 "tslib" : " ^2.0.0" ,
5455 "zone.js" : " ~0.11.4"
8485 "eslint" : " ~8.10.0" ,
8586 "eslint-config-prettier" : " 8.4.0" ,
8687 "eslint-plugin-cypress" : " ^2.10.3" ,
87- "gh-pages" : " ^3.2.3" ,
8888 "hasky" : " ^3.0.2" ,
8989 "jest" : " 27.2.3" ,
9090 "jest-preset-angular" : " 11.1.1" ,
You can’t perform that action at this time.
0 commit comments