Skip to content
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 · Fixed by #1222
Closed

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

gaearon opened this issue Dec 9, 2016 · 1 comment · Fixed by #1222

Comments

@gaearon
Copy link
Contributor

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
Copy link
Contributor

n3tr commented Dec 9, 2016

created PR #1222

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants