This commit is contained in:
Kasra Bigdeli 2019-12-24 16:38:35 -05:00
parent 335391d1de
commit bc883c7805
2 changed files with 2 additions and 10 deletions

View File

@ -1,5 +1,4 @@
/*jshint esversion: 6 */
const ghPages = require('gh-pages');
const path = require('path');
const fs = require('fs-extra')
@ -65,14 +64,6 @@
.then(function () {
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) {
console.error(err)
})

View File

@ -4,7 +4,8 @@
"description": "One Click App Repository for CapRover",
"main": "build_and_publish_to_github_pages.js",
"scripts": {
"publish": "node ./npm_run_puplish.js"
"build": "node ./build_one_click_apps.js",
"publish": "npm run build && ./publish-from-actions.sh"
},
"repository": {
"type": "git",