Push on Github Repo
Configuration
Push Astro JS Blacks Theme Project on Github.
Before push your project, you need to add your domain.
For first you can open astro.config.mjs
and change site url with your domain name .
Json Code
And open src/data/config.json
change url with your domain name.
Json Code
Change URL http://localhost:4321
with your domain name
Push on Github
Register and create an account on github
Next you can create new repo , check image
Name it your repo , then select your project for public or private, Then you can click create repo button.
Next, You need to following github command.
For first access your project using terminal , then copy and paste command script from github.
Example
Change username with your github username ,and change your-repo-name with your github repo
And you have successfully push your project on github repo.
Output
Next step, you need to register on modern static host provider for deploy your project and make your website live.