chore(cd): use deploy action
This commit is contained in:
Родитель
626565d86e
Коммит
6c1e8d9d59
|
@ -34,11 +34,17 @@ jobs:
|
|||
env:
|
||||
KENDO_UI_LICENSE: ${{ secrets.KENDO_UI_LICENSE }}
|
||||
|
||||
- name: Publish to GH Pages
|
||||
run: ./bin/publish-gh-pages
|
||||
- name: Build
|
||||
run: ./bin/build-gh-pages
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Deploy to GH Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ github.token }}
|
||||
publish_dir: ./examples/dist
|
||||
|
||||
- name: Cleanup
|
||||
run: git clean -xdf
|
||||
|
||||
|
|
|
@ -34,6 +34,3 @@ done
|
|||
# Copy static assets
|
||||
cp static/* dist
|
||||
|
||||
# Deploy to GH Pages using angular-cli-ghpages
|
||||
npx ngh -S --name="kendo-bot" --email="kendouiteam@progress.com"
|
||||
|
|
@ -5051,29 +5051,6 @@
|
|||
"integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=",
|
||||
"dev": true
|
||||
},
|
||||
"angular-cli-ghpages": {
|
||||
"version": "0.5.3",
|
||||
"resolved": "https://registry.npmjs.org/angular-cli-ghpages/-/angular-cli-ghpages-0.5.3.tgz",
|
||||
"integrity": "sha512-6ttpK5gghBXaWVnfXV9Ol0LRFwbmLwKPykjGn3HsHHyAENhJ5aGUSO89TlgOJWHaVW0x57SH3HHZr6wgSnw4/g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"commander": "2.9.0",
|
||||
"denodeify": "1.2.1",
|
||||
"fs-extra": "3.0.1",
|
||||
"gh-pages": "0.12.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"commander": {
|
||||
"version": "2.9.0",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz",
|
||||
"integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"graceful-readlink": ">= 1.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ansi-colors": {
|
||||
"version": "3.2.4",
|
||||
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz",
|
||||
|
@ -6415,15 +6392,6 @@
|
|||
"object-visit": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"collections": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://registry.npmjs.org/collections/-/collections-0.2.2.tgz",
|
||||
"integrity": "sha1-HyMCay7zb5J+7MkB6ZxfDUj6M04=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"weak-map": "1.0.0"
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/color/-/color-3.1.2.tgz",
|
||||
|
@ -7374,12 +7342,6 @@
|
|||
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
||||
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
|
||||
},
|
||||
"denodeify": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/denodeify/-/denodeify-1.2.1.tgz",
|
||||
"integrity": "sha1-OjYof1A05pnnV3kBBSwubJQlFjE=",
|
||||
"dev": true
|
||||
},
|
||||
"depd": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
|
||||
|
@ -8571,17 +8533,6 @@
|
|||
"null-check": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"fs-extra": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-3.0.1.tgz",
|
||||
"integrity": "sha1-N5TzeMWLNC6n27sjCVEJxLO2IpE=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"graceful-fs": "^4.1.2",
|
||||
"jsonfile": "^3.0.0",
|
||||
"universalify": "^0.1.0"
|
||||
}
|
||||
},
|
||||
"fs-minipass": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
|
||||
|
@ -9268,66 +9219,6 @@
|
|||
"assert-plus": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"gh-pages": {
|
||||
"version": "0.12.0",
|
||||
"resolved": "https://registry.npmjs.org/gh-pages/-/gh-pages-0.12.0.tgz",
|
||||
"integrity": "sha1-2VHj7Zi4VpnUsEGOsaFbGgSYjcE=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"async": "2.1.2",
|
||||
"commander": "2.9.0",
|
||||
"globby": "^6.1.0",
|
||||
"graceful-fs": "4.1.10",
|
||||
"q": "1.4.1",
|
||||
"q-io": "1.13.2",
|
||||
"rimraf": "^2.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/async/-/async-2.1.2.tgz",
|
||||
"integrity": "sha1-YSpKtF70KnDN6Aa62G7m2wR+g4U=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"lodash": "^4.14.0"
|
||||
}
|
||||
},
|
||||
"commander": {
|
||||
"version": "2.9.0",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz",
|
||||
"integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"graceful-readlink": ">= 1.0.0"
|
||||
}
|
||||
},
|
||||
"globby": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz",
|
||||
"integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"array-union": "^1.0.1",
|
||||
"glob": "^7.0.3",
|
||||
"object-assign": "^4.0.1",
|
||||
"pify": "^2.0.0",
|
||||
"pinkie-promise": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"graceful-fs": {
|
||||
"version": "4.1.10",
|
||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.10.tgz",
|
||||
"integrity": "sha1-8tcgwiCS90Mih3XHXjYSYyUB8TE=",
|
||||
"dev": true
|
||||
},
|
||||
"pify": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
|
||||
"integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"glob": {
|
||||
"version": "7.1.4",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
|
||||
|
@ -9395,12 +9286,6 @@
|
|||
"integrity": "sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==",
|
||||
"dev": true
|
||||
},
|
||||
"graceful-readlink": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz",
|
||||
"integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=",
|
||||
"dev": true
|
||||
},
|
||||
"graphql": {
|
||||
"version": "14.4.1",
|
||||
"resolved": "https://registry.npmjs.org/graphql/-/graphql-14.4.1.tgz",
|
||||
|
@ -11231,15 +11116,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"jsonfile": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-3.0.1.tgz",
|
||||
"integrity": "sha1-pezG9l9T9mLEQVx2daAzHQmS7GY=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"graceful-fs": "^4.1.6"
|
||||
}
|
||||
},
|
||||
"jsonparse": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz",
|
||||
|
@ -12061,12 +11937,6 @@
|
|||
"mime-db": "1.40.0"
|
||||
}
|
||||
},
|
||||
"mimeparse": {
|
||||
"version": "0.1.4",
|
||||
"resolved": "https://registry.npmjs.org/mimeparse/-/mimeparse-0.1.4.tgz",
|
||||
"integrity": "sha1-2vsCdSNw/SJgk64xUsJxrwGsJUo=",
|
||||
"dev": true
|
||||
},
|
||||
"mimic-fn": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
|
||||
|
@ -14465,28 +14335,6 @@
|
|||
"integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4=",
|
||||
"dev": true
|
||||
},
|
||||
"q-io": {
|
||||
"version": "1.13.2",
|
||||
"resolved": "https://registry.npmjs.org/q-io/-/q-io-1.13.2.tgz",
|
||||
"integrity": "sha1-7qEw1IHdteGqG8WmaFX3OR0G8AM=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"collections": "^0.2.0",
|
||||
"mime": "^1.2.11",
|
||||
"mimeparse": "^0.1.4",
|
||||
"q": "^1.0.1",
|
||||
"qs": "^1.2.1",
|
||||
"url2": "^0.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"qs": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-1.2.2.tgz",
|
||||
"integrity": "sha1-GbV/8k3CqZzh+L32r82ln472H4g=",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"qjobs": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz",
|
||||
|
@ -17012,12 +16860,6 @@
|
|||
"requires-port": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"url2": {
|
||||
"version": "0.0.0",
|
||||
"resolved": "https://registry.npmjs.org/url2/-/url2-0.0.0.tgz",
|
||||
"integrity": "sha1-Tqq9HVw6yQ1iq0SFyZhCKGWgSxo=",
|
||||
"dev": true
|
||||
},
|
||||
"use": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
|
||||
|
@ -17334,12 +17176,6 @@
|
|||
"defaults": "^1.0.3"
|
||||
}
|
||||
},
|
||||
"weak-map": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.0.tgz",
|
||||
"integrity": "sha1-tm5Wqd8L0lp2u/G1FNsSkIBhSjc=",
|
||||
"dev": true
|
||||
},
|
||||
"webdriver-js-extender": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz",
|
||||
|
|
|
@ -79,7 +79,6 @@
|
|||
"@types/jasmine": "~2.8.8",
|
||||
"@types/jasminewd2": "~2.0.6",
|
||||
"@types/node": "^12.11.1",
|
||||
"angular-cli-ghpages": "^0.5.3",
|
||||
"codelyzer": "^5.1.2",
|
||||
"jasmine-core": "~2.99.1",
|
||||
"jasmine-spec-reporter": "~4.2.1",
|
||||
|
|
Загрузка…
Ссылка в новой задаче