Deployment to GitHub pages
Complete the steps one by one
First, create a repository on GitHub with a copy of MetaEditor
Change the configuration
Run
yarn deploy
from the root directoryOpen the
hg-pages
branch of your project in GitHub and create an empty file.nojekyll
in the folders below:https://github.com/.../tree/gh-pages/
https://github.com/.../tree/gh-pages/_next/
You can set your custom domain at
https://github.com/.../settings/pages
Done!
Configuration
Open /.deploy/index.js
and set:
username
— Your github accountreponame
— Repository name
class Deploy {
constructor() {
//...
this.repo_url = 'https://github.com/{username}/{reponame}'
}
//...
}