|
@@ -5,7 +5,7 @@ type: deploy
|
|
|
5
5
|
i18nReady: true
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
[Heroku](https://www.heroku.com/) is a platform-as-a-service for building, running, and managing modern apps in the cloud. You can
|
|
8
|
+
[Heroku](https://www.heroku.com/) is a platform-as-a-service for building, running, and managing modern apps in the cloud. You can deploy an Astro site to Heroku using this guide.
|
|
9
9
|
## How to deploy
|
|
10
10
|
|
|
11
11
|
1. Install the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli).
|
|
@@ -20,9 +20,7 @@ i18nReady: true
|
|
|
20
20
|
|
|
21
21
|
4. Create a file called `static.json` in the root of your project with the below content:
|
|
22
22
|
|
|
23
|
-
`static.json
|
|
23
|
+
```json title="static.json"
|
|
24
|
-
|
|
25
|
-
```json
|
|
26
24
|
{
|
|
27
25
|
"root": "./dist"
|
|
28
26
|
}
|
|
@@ -4,8 +4,12 @@ description: How to deploy your Astro site to the web using Heroku.
|
|
|
4
4
|
type: deploy
|
|
5
5
|
i18nReady: true
|
|
6
6
|
---
|
|
7
|
-
|
|
8
7
|
[Heroku](https://www.heroku.com/) is a platform-as-a-service for building, running, and managing modern apps in the cloud. You can deploy an Astro site to Heroku using this guide.
|
|
8
|
+
|
|
9
|
+
:::danger
|
|
10
|
+
The following instructions use [the deprecated `heroku-static-buildpack`](https://github.com/heroku/heroku-buildpack-static#warning-heroku-buildpack-static-is-deprecated). Please see [Heroku's documentation for using `heroku-buildpack-nginx`](https://github.com/dokku/heroku-buildpack-nginx) instead.
|
|
11
|
+
:::
|
|
12
|
+
|
|
9
13
|
## How to deploy
|
|
10
14
|
|
|
11
15
|
1. Install the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli).
|
|
@@ -4,6 +4,8 @@ description: How to deploy your Astro site to the web using Heroku.
|
|
|
4
4
|
type: deploy
|
|
5
5
|
i18nReady: true
|
|
6
6
|
---
|
|
7
|
+
import { Steps } from '@astrojs/starlight/components';
|
|
8
|
+
|
|
7
9
|
[Heroku](https://www.heroku.com/) is a platform-as-a-service for building, running, and managing modern apps in the cloud. You can deploy an Astro site to Heroku using this guide.
|
|
8
10
|
|
|
9
11
|
:::danger
|
|
@@ -12,6 +14,7 @@ The following instructions use [the deprecated `heroku-static-buildpack`](https:
|
|
|
12
14
|
|
|
13
15
|
## How to deploy
|
|
14
16
|
|
|
17
|
+
<Steps>
|
|
15
18
|
1. Install the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli).
|
|
16
19
|
|
|
17
20
|
2. Create a Heroku account by [signing up](https://signup.heroku.com/).
|
|
@@ -56,3 +59,4 @@ The following instructions use [the deprecated `heroku-static-buildpack`](https:
|
|
|
56
59
|
# opens a browser to view the Dashboard version of Heroku CI
|
|
57
60
|
$ heroku open
|
|
58
61
|
```
|
|
62
|
+
</Steps>
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Deploy your Astro Site to Heroku
|
|
3
3
|
description: How to deploy your Astro site to the web using Heroku.
|
|
4
|
+
sidebar:
|
|
5
|
+
label: Heroku
|
|
4
6
|
type: deploy
|
|
5
7
|
i18nReady: true
|
|
6
8
|
---
|
|
@@ -4,6 +4,8 @@ description: How to deploy your Astro site to the web using Heroku.
|
|
|
4
4
|
sidebar:
|
|
5
5
|
label: Heroku
|
|
6
6
|
type: deploy
|
|
7
|
+
logo: heroku
|
|
8
|
+
supports: ['static']
|
|
7
9
|
i18nReady: true
|
|
8
10
|
---
|
|
9
11
|
import { Steps } from '@astrojs/starlight/components';
|
|
@@ -12,7 +12,7 @@ import { Steps } from '@astrojs/starlight/components';
|
|
|
12
12
|
|
|
13
13
|
[Heroku](https://www.heroku.com/) is a platform-as-a-service for building, running, and managing modern apps in the cloud. You can deploy an Astro site to Heroku using this guide.
|
|
14
14
|
|
|
15
|
-
:::
|
|
15
|
+
:::caution
|
|
16
16
|
The following instructions use [the deprecated `heroku-static-buildpack`](https://github.com/heroku/heroku-buildpack-static#warning-heroku-buildpack-static-is-deprecated). Please see [Heroku's documentation for using `heroku-buildpack-nginx`](https://github.com/dokku/heroku-buildpack-nginx) instead.
|
|
17
17
|
:::
|
|
18
18
|
|