Skip to main content
Version: v1.1

Deployment to GitHub pages

Complete the steps one by one

  1. First, create a repository on GitHub with a copy of MetaEditor

  2. Change the configuration

  3. Run yarn deploy from the root directory

  4. Open 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/

  5. You can set your custom domain at https://github.com/.../settings/pages

  6. Done!

Configuration

Open /.deploy/index.js and set:

  • username — Your github account

  • reponame — Repository name

class Deploy {
constructor() {
//...
this.repo_url = 'https://github.com/{username}/{reponame}'
}
//...
}