fix: deploy sub dir and remove old deps
This commit is contained in:
parent
6330960342
commit
0d79c7b0e4
3 changed files with 5537 additions and 400 deletions
22
.github/workflows/deploy-demo.yml
vendored
22
.github/workflows/deploy-demo.yml
vendored
|
|
@ -28,12 +28,18 @@ jobs:
|
|||
run: npm i --legacy-peer-deps
|
||||
- name: Build app for production 💥
|
||||
run: npx nx build ngx-responsive-table-demo -c production
|
||||
- name: Setup Pages 🔧
|
||||
uses: actions/configure-pages@v3
|
||||
- name: Upload artifact 🍜
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
# - name: Setup Pages 🔧
|
||||
# uses: actions/configure-pages@v3
|
||||
# - name: Upload artifact 🍜
|
||||
# uses: actions/upload-pages-artifact@v2
|
||||
# with:
|
||||
# path: 'dist/apps/ngx-responsive-table-demo'
|
||||
# - name: Deploy to GitHub Pages 💥
|
||||
# id: deployment
|
||||
# uses: actions/deploy-pages@v2
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
path: 'dist/apps/ngx-responsive-table-demo'
|
||||
- name: Deploy to GitHub Pages 💥
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./dist/apps/ngx-responsive-table-demo
|
||||
destination_dir: ngx-responsive-table-demo
|
||||
|
|
|
|||
5911
package-lock.json
generated
5911
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -5,8 +5,7 @@
|
|||
"scripts": {
|
||||
"start:paystack:demo": "nx serve ns-paystack-demo",
|
||||
"start:table:demo": "nx serve ngx-responsive-table-demo",
|
||||
"prepare": "husky install",
|
||||
"deploy:ngx-responsive-table-demo": "npx angular-cli-ghpages --dir=dist/apps/ngx-responsive-table-demo --name='Brian Pooe' --email=brian.method@gmail.com --no-silent"
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "~16.1.0",
|
||||
|
|
@ -64,7 +63,6 @@
|
|||
"@types/node": "~18.7.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
||||
"@typescript-eslint/parser": "^5.58.0",
|
||||
"angular-cli-ghpages": "^1.0.6",
|
||||
"conventional-changelog-conventionalcommits": "^6.1.0",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"eslint": "~8.15.0",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue