@lekoleko/reg-publish-github-pages-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

reg-publish-github-pages-plugin

A reg-suit plugin to fetch and publish assets to the GitHub pages.

Install

npm i -D reg-publish-github-pages-plugin
reg-suit prepare -p publish-github-pages

Setup

You need to configure GitHub pages before using this plugin.
See the official documentation

Configure

{
  repository: string;
  branchName: string;
  token: string;
  customDomain?: string;
  pathPrefix?: string;
}
  • repository - Required - A repository name in the form of owner/name such as Leko/reg-publish-github-pages-plugin.
  • branchName - Required - A branch name for the GitHub pages.
  • token - Required - A GitHub token. You can pass the value via Embed environment values
  • customDomain - Optional - A custom domain when you set it to the GitHub pages.
  • pathPrefix - Optional - Specify paths. For example, when you set some_dir as this property, this plugin will publish with URL such as https://{TODO}/some_dir/index.html.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    3
  • 0.0.1
    2

Package Sidebar

Install

npm i @lekoleko/reg-publish-github-pages-plugin

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

35.4 kB

Total Files

19

Last publish

Collaborators

  • lekoleko