Skip to content

Commit

Permalink
docs: update Heroku deployment instructions (#7910)
Browse files Browse the repository at this point in the history
  • Loading branch information
imankulov committed Jun 2, 2022
1 parent a7ffd7d commit 80e44a8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/guide/static-deploy.md
Expand Up @@ -266,12 +266,17 @@ You can also deploy to a [custom domain](http://surge.sh/help/adding-a-custom-do

# creates a new app with a specified name
$ heroku apps:create example
```

6. Set buildpacks. We use `heroku/nodejs` to build the project and `heroku-buildpack-static` to serve it.

# set buildpack for static sites
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-static.git
```bash
# set buildpacks
$ heroku buildpacks:set heroku/nodejs
$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-static.git
```

6. Deploy your site:
7. Deploy your site:

```bash
# publish site
Expand Down

0 comments on commit 80e44a8

Please sign in to comment.