Skip to content
Snippets Groups Projects
Unverified Commit 9837de93 authored by Tim's avatar Tim Committed by GitHub
Browse files

[pages] fix setting up documentation in deploy-an-asto-site.md (#10868)


* [pages] fix setting up documentation in deploy-an-asto-site.md

- Remove a redundant (seemed to be out of place) line in the documentation that was later repeated

- fix incorrect reference to @sveltejs/adapter-cloudflare to be @astrojs/cloudflare

* Update content/pages/framework-guides/deploy-an-astro-site.md

---------

Co-authored-by: default avatarKate Tungusova <70746074+deadlypants1973@users.noreply.github.com>
parent 7aa47935
No related branches found
No related tags found
No related merge requests found
......@@ -11,9 +11,7 @@ Refer to the [Astro Docs](https://docs.astro.build/) to learn more about Astro o
In this guide, you will create a new Astro application and deploy it using Cloudflare Pages.
## Setting up a new project
`create-cloudflare` will then install dependencies, including the [Wrangler](/workers/wrangler/install-and-update/#check-your-wrangler-version) CLI and the `@astrojs/cloudflare` adapter, and ask you setup questions.
## Set up a new project
To use `create-cloudflare` to create a new Astro project, run the following command:
......@@ -27,7 +25,7 @@ Astro will ask:
2. If you want to initialize a Git repository. We recommend you to select `No` and follow this guide's [Git instructions](/pages/framework-guides/deploy-an-astro-site/#create-a-github-repository) below. If you select `Yes`, do not follow the below Git instructions precisely but adjust them to your needs.
`create-cloudflare` will then install dependencies, including the [Wrangler](/workers/wrangler/install-and-update/#check-your-wrangler-version) CLI and the `@sveltejs/adapter-cloudflare` adapter, and ask you setup questions.
`create-cloudflare` will then install dependencies, including the [Wrangler](/workers/wrangler/install-and-update/#check-your-wrangler-version) CLI and the `@astrojs/cloudflare` adapter, and ask you setup questions.
### Astro configuration
......@@ -137,4 +135,4 @@ export async function get({request}: APIContext) => {
};
```
{{<render file="_learn-more.md" withParameters="Astro">}}
\ No newline at end of file
{{<render file="_learn-more.md" withParameters="Astro">}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment