fix: use netlify
This commit is contained in:
parent
296742cfba
commit
5f1e44d548
3 changed files with 3 additions and 42 deletions
39
.github/workflows/deploy-demo.yml
vendored
39
.github/workflows/deploy-demo.yml
vendored
|
|
@ -1,39 +0,0 @@
|
|||
name: Deploy demo
|
||||
|
||||
on: [workflow_dispatch]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: 'pages'
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Node 🍜
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- name: Install Deps 🔧
|
||||
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
|
||||
with:
|
||||
path: 'dist/apps/ngx-responsive-table-demo'
|
||||
- name: Deploy to GitHub Pages 💥
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
|
|
@ -20,8 +20,7 @@
|
|||
"apps/ngx-responsive-table-demo/src/assets"
|
||||
],
|
||||
"styles": ["apps/ngx-responsive-table-demo/src/styles.scss"],
|
||||
"scripts": [],
|
||||
"baseHref": "/devtools-bp/ngx-responsive-table-demo/"
|
||||
"scripts": []
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
"scripts": {
|
||||
"start:paystack:demo": "nx serve ns-paystack-demo",
|
||||
"start:table:demo": "nx serve ngx-responsive-table-demo",
|
||||
"prepare": "husky install"
|
||||
"prepare": "husky install",
|
||||
"deploy:ngx-responsive-table-demo": "npx nx build ngx-responsive-table-demo -c production"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "~16.1.0",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue