2 changed files with 9 additions and 10 deletions
@ -1,11 +1,10 @@ |
|||||
import ghpages from "gh-pages" |
import ghpages from "gh-pages" |
||||
|
|
||||
ghpages.publish( |
ghpages.publish( |
||||
".", |
"docs/\.vuepress/dist", |
||||
{ dotfiles: true, branch: "published", src: ["package.json", "dist/**/*"] }, |
{ dotfiles: true, branch: "published" }, |
||||
(err) => { |
).then(() => { |
||||
if (err) |
|
||||
throw err |
|
||||
console.log("success") |
console.log("success") |
||||
}, |
}).catch((err) => { |
||||
) |
console.error(err) |
||||
|
}) |
||||
|
|||||
Loading…
Reference in new issue