You can use Fleek to deploy a static Astro site to their edge-optimized decentralized network.
This guide gives a complete walkthrough of deploying your Astro site to Fleek using the Fleek UI and CLI.
Your Astro project can be deployed to Fleek as a static site.
You can deploy to Fleek through the website UI or using Fleek’s CLI (command line interface).
Create a Fleek account.
Push your code to your online Git repository (GitHub).
Import your project into Fleek.
Fleek will automatically detect Astro and then you can configure the correct settings.
Your application is deployed!
Install the Fleek CLI.
# You need to have Nodejs >= 18.18.2 npm install -g @fleek-platform/cli
Log in to your Fleek account from your terminal.
fleek login
Run the build command to generate the static files. By default, these will be located in the dist/ directory.
npm run build
Initialize your project. This will generate a configuration file.
fleek sites init
You will be prompted to either create a new Fleek Site or use an existing one. Give the site a name and select the directory where your project is located.
Deploy your site.
fleek sites deploy
© 2021 Fred K. Schott
Licensed under the MIT License.
https://docs.astro.build/en/guides/deploy/fleek/