Skip to content

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

Closed

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.

Activity

  1. n3tr commented on Dec 9, 2016

    @n3tr
    Contributor

    created PR #1222

  2. locked and limited conversation to collaborators on Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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