Description
Satro is a ready-to-use static site generator that is built with Astro
Prerequisites
Workflow not being run on forked repository
You may have noticed that the workflow isn’t being run on your forked repository. This is because of security reasons. You can enable the workflow by just clicking on the I understand my workflows, go ahead and enable them
button as shown below.
Workflow dispatch
The workflow files provided in this repository are not triggered by push in default. You can trigger the workflow by using the workflow_dispatch
event. You can find the workflow_dispatch
event in the Actions tab of your repository.
Or you can remove the comment from the workflow file to trigger the workflow on push.
1on:2 workflow_dispatch:3- # push:4- # branches: [ "main" ]5+ push:6+ branches: [ "main" ]
Configure site
Assuming you have already setting up the deploy workflow (including those environment variables starting with SITE_
) mentioned in the Prerequisites section.
Announcement
You can create an announcement by creating a file in the announcement
directory. Head to the announcement
Thumbnail, favicon and anything
You can put your thumbnail, favicon, or anything in the public
Note: You can put your
thumbnail
,favicon
in several formats simultaneously. But only one file will be used, which is randomly selected in the build process.
Redirects
Redirects are available if you are deploying to Cloudflare Pages. You can create a file name _redirects
(in this template, it’s already created and will be automatically copied to the public
directory) and follow the Redirects
Something notable
Details about Astro, please refer to the Astro documentation
Feel free to forked satro
License
This project is licensed under the LGPLv3 License - see the LICENSE