Skip to content

Disable "deploy" hint if "deploy" exists in package.json "scripts" #1221

@gaearon

Description

@gaearon

We print the following for GH Pages homepage:

The build folder is ready to be deployed.
To publish it at https://xxx.github.io/yyy/, run:

  yarn add --dev gh-pages

Add the following script in your package.json.

    // ...
    "scripts": {
      // ...
      "deploy": "npm run build&&gh-pages -d build"
    }

I think we can skip the part about setting up deploy if you already have deploy in package.json.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions