feat: github pages maybe??

This commit is contained in:
Spectralitree
2021-12-12 11:24:36 +01:00
parent cd6cbc08e3
commit 74f4b32238
4 changed files with 228 additions and 5 deletions

16
gh-pages.js Normal file
View File

@@ -0,0 +1,16 @@
var ghpages = require('gh-pages');
ghpages.publish(
'public', // path to public directory
{
branch: 'gh-pages',
repo: 'https://github.com/Spectralitree/pk-webs-svelte.git', // Update to point to your repository
user: {
name: 'Spectralitree', // update to use your name
email: 'spectralitree@gmail.com' // Update to use your email
}
},
() => {
console.log('Deploy Complete!')
}
)