Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !162

Provide instructions on publishing GH Pages

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge publish-to-gh-pages into master Jul 24, 2016
  • Overview 16
  • Commits 6
  • Pipelines 0
  • Changes 4

Created by: gaearon

This continues #94 and integrates it into the tool more tightly. By default, you see this after npm run build:

screen shot 2016-07-25 at 00 16 46

However, if you specify homepage in package.json, you will see something like this instead:

screen shot 2016-07-25 at 00 23 59

Maybe we can even detect the host in the future by URL and offer other sequences of commands without necessarily embedding them into the tool. The user can always copy and paste them into a custom script, if they want to. This way it’s super easy to keep deploy customizable without adding flags to the tool.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: publish-to-gh-pages