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