File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ name: Deploy
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches :
6
+ - master
7
+ - feature/deploy-github-workflow
6
8
7
9
jobs :
8
10
build :
30
32
- name : Install and Build
31
33
run : |
32
34
npm install
33
- ng build --prod --base-href 'https://chapi-chapi. github.io/angular-component-library/'
35
+ npm run deploy: github-pages
34
36
35
37
- name : Deploy 🚀
36
38
uses : JamesIves/github-pages-deploy-action@releases/v3
Original file line number Diff line number Diff line change 16
16
"lint" : " ng lint" ,
17
17
"e2e" : " ng e2e" ,
18
18
"build:ci" : " npm run clean && npm run test && npm run build:prod" ,
19
+ "deploy:github-pages" : " ng build --prod --base-href 'https://chapi-chapi.github.io/angular-component-library/'" ,
19
20
"start:proxy:mock:server" : " concurrently --kill-others \" npm run mock:server\" \" npm run start:proxy\" " ,
20
21
"package:mock-api" : " ng-packagr -p ./src/app/shared/interceptors/mock-api/package.json" ,
21
22
"package:publish:mock-api" : " npm publish ./dist/packages/@chapichapi/mock-api --access public"
You can’t perform that action at this time.
0 commit comments