Skip to content

Commit a4fba94

Browse files
chore: fix demo site base href
1 parent 394192e commit a4fba94

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ jobs:
3535
- run: npm run test:ci
3636
- run: npm run lint
3737

38-
- run: npm run demo:build
38+
- id: pages
39+
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
40+
41+
- run: npm run demo:build -- --base-href "${{ steps.pages.outputs.base_path }}/"
3942

40-
- uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
4143
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
4244
with:
43-
path: './dist/ngx-toastr-site'
45+
path: './dist/ngx-toastr-site/browser'
4446
- id: deployment
4547
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0

0 commit comments

Comments
 (0)