I added a deployer for Neocities based on their API library. The API seems to be a bit immature, so there were some things that other deployers do that I wasn't able to recreate:
There's no API to create a brand new site, you have to sign up for an account first.
Neocities does not allow deletes of the index.html file, so I couldn't do much with a destroy function like the other tests use to clean up. There is also no API call to list files, which also makes "destroying" a site tough.
Neocities also only allows certain file types, so some extra functionality was added to the deployer to filter down to just allowed files.
It looks like at this point, as per test/readme.md, I need someone from the core team to add the test account password to the encrypted config file. I've made the ship-testing account, let me know who needs the information and I can hand off the account so you can add it to the config file, encrypt, and get the tests to pass.
Hey everybody,
I added a deployer for Neocities based on their API library. The API seems to be a bit immature, so there were some things that other deployers do that I wasn't able to recreate:
index.html
file, so I couldn't do much with a destroy function like the other tests use to clean up. There is also no API call to list files, which also makes "destroying" a site tough.Neocities also only allows certain file types, so some extra functionality was added to the deployer to filter down to just allowed files.
It looks like at this point, as per test/readme.md, I need someone from the core team to add the test account password to the encrypted config file. I've made the
ship-testing
account, let me know who needs the information and I can hand off the account so you can add it to the config file, encrypt, and get the tests to pass.Let me know how it looks, thanks!