Skip to content

Commit

Permalink
docs: fix generate docs + publish to github pages
Browse files Browse the repository at this point in the history
manudss committed Feb 23, 2024
1 parent 3806ab7 commit 41be31e
Showing 4 changed files with 13 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
@@ -51,9 +51,15 @@ jobs:
yarn run compile
yarn run compile:forDatasource
yarn run compile:datasource
yarn run build
cp README.md dist/akita-filters-plugin/README.md
cp LICENSE.md dist/akita-filters-plugin/LICENSE.md
cp LICENSE.md dist/akita-filters-mat-datasource/LICENSE.md
- name: Pages
if: success()
run: |
yarn run build
cp README.md docs/assets/README.md
cp -r tmp/browser/* docs/
- name: Semantic Release
if: success()
env:
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -43,3 +43,4 @@ Thumbs.db
.angular
docs
.nx
tmp
5 changes: 4 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
@@ -52,6 +52,9 @@
"with": "src/environments/environment.prod.ts"
}
],
"outputPath": {
"base": "tmp"
},
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
@@ -65,7 +68,7 @@
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
"maximumWarning": "10kb"
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve --port 4949",
"build": "ng build --configuration production --output-path docs --base-href /akita-filters-plugin/",
"build": "ng build --configuration production --output-path tmp --base-href /akita-filters-plugin/",
"compile": "ng-packagr -p ./projects/akita-filters-plugin/ng-package.json",
"compile:forDatasource": "ng-packagr -p ./projects/akita-filters-plugin/ng-package2.json",
"compile:datasource": "ng-packagr -p ./projects/akita-mat-datasource/ng-package.json",

0 comments on commit 41be31e

Please sign in to comment.