File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,25 @@ $ npm run-script build
4444 under version control. Run ` npm install ` to install and later commit any changes
4545 in ` static-files/assets/ ` .
4646
47+ ## Deploy
48+
49+ Once built (see previous chapter), deployment is as simple as hosting the static
50+ website contents of the ` tmp/build ` directory behind a webserver of your choice.
51+
52+ We use GitHub Pages to deploy this to the live site. This is done by pushing the
53+ contents of the ` tmp/build ` directory to the repository hosted in
54+ [ reactphp/reactphp.github.io] ( https://github.com/reactphp/reactphp.github.io ) .
55+
56+ This deployment can be started by executing this:
57+
58+ ``` bash
59+ $ bin/build --deploy
60+ ```
61+
62+ Note that this will publish any changes you've made to your local repository,
63+ including any uncommitted ones. There should usually be no need to do this
64+ manually, see next chapter for auto-deployment.
65+
4766## Auto-Deployment with Travis CI
4867
4968The website can be automatically deployed via the Travis CI
You can’t perform that action at this time.
0 commit comments