File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,10 @@ jobs:
23
23
24
24
- name : Install Dependencies 🔧
25
25
run : npm install --no-package-lock
26
+ - run : npm run build -- --prod --baseHref=/angular-jss/
26
27
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 30
30
"dep-graph" : " nx dep-graph" ,
31
31
"help" : " nx help" ,
32
32
"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"
36
34
},
37
35
"private" : true ,
38
36
"dependencies" : {
45
43
"@angular/platform-browser-dynamic" : " ~13.2.0" ,
46
44
"@angular/router" : " ~13.2.0" ,
47
45
"@nrwl/angular" : " 13.8.4" ,
46
+ "highlight.js" : " ^11.4.0" ,
48
47
"jss" : " ^10.9.0" ,
49
48
"jss-plugin-camel-case" : " ^10.9.0" ,
50
49
"jss-plugin-global" : " ^10.9.0" ,
51
50
"jss-plugin-rule-value-function" : " ^10.9.0" ,
51
+ "jss-preset-default" : " ^10.9.0" ,
52
+ "ngx-highlightjs" : " ^6.1.1" ,
52
53
"rxjs" : " ~7.5.4" ,
53
54
"tslib" : " ^2.0.0" ,
54
55
"zone.js" : " ~0.11.4"
84
85
"eslint" : " ~8.10.0" ,
85
86
"eslint-config-prettier" : " 8.4.0" ,
86
87
"eslint-plugin-cypress" : " ^2.10.3" ,
87
- "gh-pages" : " ^3.2.3" ,
88
88
"hasky" : " ^3.0.2" ,
89
89
"jest" : " 27.5.1" ,
90
90
"jest-preset-angular" : " 11.1.1" ,
You can’t perform that action at this time.
0 commit comments