New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gaearon opened this Issue Dec 9, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@gaearon
Member

gaearon commented Dec 9, 2016

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.

@n3tr

This comment has been minimized.

Contributor

n3tr commented Dec 9, 2016

created PR #1222

@gaearon gaearon closed this in #1222 Dec 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment