updated
This commit is contained in:
parent
335391d1de
commit
bc883c7805
|
|
@ -1,5 +1,4 @@
|
||||||
/*jshint esversion: 6 */
|
/*jshint esversion: 6 */
|
||||||
const ghPages = require('gh-pages');
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const fs = require('fs-extra')
|
const fs = require('fs-extra')
|
||||||
|
|
||||||
|
|
@ -65,14 +64,6 @@
|
||||||
.then(function () {
|
.then(function () {
|
||||||
return copyVersion(2)
|
return copyVersion(2)
|
||||||
})
|
})
|
||||||
.then(function () {
|
|
||||||
ghPages.publish('public', function (err) {
|
|
||||||
if (err)
|
|
||||||
console.log(err);
|
|
||||||
else
|
|
||||||
console.log('Built and deployed successfully');
|
|
||||||
});
|
|
||||||
})
|
|
||||||
.catch(function (err) {
|
.catch(function (err) {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
})
|
})
|
||||||
|
|
@ -4,7 +4,8 @@
|
||||||
"description": "One Click App Repository for CapRover",
|
"description": "One Click App Repository for CapRover",
|
||||||
"main": "build_and_publish_to_github_pages.js",
|
"main": "build_and_publish_to_github_pages.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"publish": "node ./npm_run_puplish.js"
|
"build": "node ./build_one_click_apps.js",
|
||||||
|
"publish": "npm run build && ./publish-from-actions.sh"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue