{"repo":"bcomnes/deploy-to-neocities","free":true,"listed":false,"github":"https://github.com/bcomnes/deploy-to-neocities","clone":"git clone https://github.com/bcomnes/deploy-to-neocities.git","description":"🐈 Github Action to deploy a folder to Neocities","language":"JavaScript","stars":377,"topics":["actions","css","deployment","github-actions","html","neocities","publishing","static-site"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"deploy-to-neocities [![Neocities][neocities-img]](https://deploy-to-neocities.neocities.org) Efficiently deploy a website to [Neocities][nc] using Github actions. Uses content aware diffing to only update files that changed. Alternatively, you can use the bin helper in async-neocities to deploy to neocities locally from your own machine as well as in CI. Usage - 💻 Example YML - 🌎 Example Deploy Create a workflow .yml file in your repository's .github/workflows directory. An example workflow is available above. For more information, reference the GitHub Help Documentation for Creating a workflow file. You'll need the API token for your site. Go to: Retreive your site's API token from Neocities. In your GitHub repository, set a [secret][sec] called NEOCITIES API TOKEN . Set the api token input on your deploy-to-neocities action to ${{ secrets.NEOCITIES API TOKEN }} as in the example above. The setting (as of writing) lives in Repository Settings Security Secrets and Variables Actions Repository secrets. During your workflow, generate the files you want to deploy to [Neocities][nc] into a directory. Set this as the dist dir directory in your workflow (the default is public ). You can use any tools to generate your site that can be installed or brought into the Github actions environment. Once the build is complete, deploy-to-neocities will efficiently upload all new and all changed files to Neocities. Any files on Neocities that don't exist in the dist dir are considered 'orph","default_branch":null,"files":null,"tree":[],"storefront":"/r/bcomnes","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bcomnes/deploy-to-neocities/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}