smeijer / leaflet-geosearch

A geocoding/address-lookup library supporting various api providers.
https://smeijer.github.io/leaflet-geosearch/
MIT License
1.02k stars 271 forks source link

gh-pages: update #302

Closed missinglink closed 2 years ago

missinglink commented 2 years ago

this PR is the result of a single command:

npm run docs:update

..although despite that it's larger than I expected

git remote -v
origin  git@github.com:missinglink/leaflet-geosearch.git (fetch)
origin  git@github.com:missinglink/leaflet-geosearch.git (push)
upstream    git@github.com:smeijer/leaflet-geosearch.git (fetch)
upstream    git@github.com:smeijer/leaflet-geosearch.git (push)

git fetch upstream
git checkout -b gh-pages upstream/gh-pages
git checkout develop
git pull upstream develop
npm run docs:update
git push upstream gh-pages:gh-pages-update
missinglink commented 2 years ago

agh crap, so apparently the docs:update command pulled in my ENV var and published my API key in the docs source 🤦‍♂️

I'm going to revoke and recreate my key:

git grep -oh 'ge-2a93439530ce0cc2'
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
ge-2a93439530ce0cc2
smeijer commented 2 years ago

I've reverted your change. I'm not sure if you can still force-push to this PR to remove stuff from this pull. Worth a shot though.

smeijer commented 2 years ago

I've also pushed a new docs update, so the providers are mentioned, but they don't work (due to missing env vars).

missinglink commented 2 years ago

All good, I retired that key