Back to Blog
Gramps house neocities7/4/2023 ![]() ![]() What are some of the drawbacks compared to Netlify/Vercel? Beginner friendly docs for learning how to make your own websites.Bring your own CI environment, or don't.Offers simple, Google-free site analytics.There is a generous free tier and you can get custom domains and additional sites for $5/mo. Independent, sustainable and altruistic service run by and word on the street is that the service is profitable.Fun, friendly, creative and organic community with an interesting social network.You can hand upload and edit files along side built/deployed assets. Simple and understandable feature set.Perfect for personal websites, projects and other infrequently accessed documents. ![]() Far faster cold cache access than other popular static hosting services.Neocities owns its own ARIN IP block and has its own BGP peering agreements, eliminating entire layers of bureaucracy between your content and the rest of the Internet typical of all major cloud providers.Simple A and AAAA records are all you need. Anycast doesn't require special DNS records to achieve geolocation routing characteristics.Neocities CDN uses a pure anycast network providing efficient content serving no matter where your visitors are located around the world.Neocities offers a bunch of nice properties: Glob strings are processed by minimatch against remote neocities file paths. Protected files are printed when cleanup is set to true or false. Test this option out with cleanup set to false before relying on it. protected_files: An optional glob string used to mark files as protected.If true, deploy-to-neocities will destructively delete files found on Neocities not found in your dist_dir. cleanup: Boolean string ( true or false).Keep it clean by keeping or building your site into a subdir and deploy that. github and other files that won't deploy properly to neocities. Don't deploy your root repo directory (e.g./). dist_dir: The directory to deploy to Neocities.api_token ( REQUIRED): The API token for your Neocities website to deploy to.Running a test build that does not deploy on all branches and PRs can help catch changes that will break the build. You most likely only want to run this on the master branch so that only changes committed to master result in website updates. To destructively remove these 'orphaned' files, set the cleanup input to true. Any files on Neocities that don't exist in the dist_dir are considered 'orphaned' files. Once the build is complete, deploy-to-neocities will efficiently upload all new and all changed files to Neocities. You can use any tools to generate your site that can be installed or brought into the Github actions environment. Set this as the dist_dir directory in your workflow (the default is public). Set the api_token input on your deploy-to-neocities action to $ as in the example above.ĭuring your workflow, generate the files you want to deploy to Neocities into a directory. In your GitHub repository, set a secret called NEOCITIES_API_TOKEN. ![]()
0 Comments
Read More
Leave a Reply. |