Skip to content

Commit

Permalink
Merge pull request #666 from etn-ccis/fix/dev-doc-deploy
Browse files Browse the repository at this point in the history
update build command
  • Loading branch information
joebochill authored May 10, 2024
2 parents e2a58c3 + 5eb20ee commit fe55351
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/blui-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,8 @@ jobs:
matrix:
node-version: [20.x]
env:
environment.dev: ${{ github.ref == 'refs/heads/master' && 'dev' }}
environment.prod: ${{ github.ref == 'refs/heads/master' && 'master' }}
base-href: ${{ github.ref == 'refs/heads/master' && '/angular' || '/angular-dev' }}
base-href: ${{ github.ref == 'refs/heads/master' && '/angular/' || '/angular-dev/' }}
build-type: ${{ github.ref == 'refs/heads/master' && 'production' || 'development' }}

steps:
- name: Checkout
Expand All @@ -184,7 +183,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn --immutable
- run: yarn build:demo
- run: yarn build:demo --base-href ${{env.base-href}} -c ${{env.build-type}}
- name: Save build
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "ng serve demo -c local --open --host 0.0.0.0",
"start:npm": "ng serve demo -c npm --open",
"start:showcase": "yarn initialize && yarn install:dependencies && cd showcase && yarn start:lib",
"build:demo": "ng build demo",
"build:demo": "ng build demo && cp src/404.html build && touch ./build/.nojekyll",
"build:lib": "bash scripts/buildLib.sh",
"prettier": "prettier \"src/**/**.{ts,js,json,css,scss,html}\" --write",
"prettier:check": "prettier \"src/**/**.{ts,js,json,css,scss,html}\" --check",
Expand Down

0 comments on commit fe55351

Please sign in to comment.