Skip to content

Commit aaaae80

Browse files
committed
forgot build step
1 parent 1bf0179 commit aaaae80

File tree

1 file changed

+6
-3
lines changed
  • src/content/docs/workers/frameworks/framework-guides

1 file changed

+6
-3
lines changed

src/content/docs/workers/frameworks/framework-guides/astro.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,12 @@ If your Astro project is a purely static site, follow these steps:
110110
Read about other [asset configuration options](/workers/static-assets/routing/).
111111
</Details>
112112

113-
2. **Deploy your project.**
114-
You can deploy your project to a [`*.workers.dev` subdomain](/workers/configuration/routing/workers-dev/) or a [custom domain](/workers/configuration/routing/custom-domains/) from your local machine or any CI/CD system (including [Workers Builds](/workers/ci-cd/#workers-builds)). Use the following command to build and deploy. If you're using a CI service, be sure to update your "deploy command" accordingly.
115-
<PackageManagers type="exec" pkg="wrangler@latest" args="deploy" />
113+
2. **Build and deploy your project**
114+
115+
You can deploy your project to a [`*.workers.dev` subdomain](/workers/configuration/routing/workers-dev/) or a [custom domain](/workers/configuration/routing/custom-domains/) from your local machine or any CI/CD system (including [Workers Builds](/workers/ci-cd/#workers-builds)). Use the following command to build and deploy. If you're using a CI service, be sure to update your "deploy command" accordingly.
116+
117+
<PackageManagers type="exec" pkg="astro" args="build" />
118+
<PackageManagers type="exec" pkg="wrangler@latest" args="deploy" />
116119

117120
</Steps>
118121

0 commit comments

Comments
 (0)