neocities / neocities-ruby

The Neocities Gem - A CLI and library for using the Neocities web site API.
https://neocities.org
51 stars 14 forks source link

Use environment variable NEOCITIES_API_KEY #17

Closed mtusseau closed 5 years ago

mtusseau commented 5 years ago

First of all, thanks for your work: i just discovered and your scripts. I aim to use it for continuous inspection with Gitlab.

When using the command neocities push <folder> the script ignores the value stored in NEOCITIES_API_KEY: it uses the value stored in ~/.config/neocities/config. For continuous integration reasons, it could be great if neocities push check that NEOCITIES_API_KEY is empty before loading the config file.

Best regards.

nocko commented 5 years ago

👍

nocko commented 5 years ago

This one can probably be closed now (since #18 is merged), but it'd be great to bump the gem version so we could get this change via normal channels.

nocko commented 5 years ago

@kyledrake Will you please bump the gem version and push it out so we can use the client more easily for deploy via CI systems?

Then this issue can be closed. Thank you.

kyledrake commented 5 years ago

Apologies for the delay, this has been pushed. Thank you for fixing this!