Developer-DAO / pixel-avatars

A Polygon-based minting projects for Developer DAO members who own an Devs for Revolution NFT
https://pixel-devs.developerdao.com/
ISC License
133 stars 36 forks source link

Fix public key for each environment #86

Closed rasmuscnielsen closed 2 years ago

rasmuscnielsen commented 2 years ago

So while doing the end-to-end test I discovered that SERVER_PRIVATE_KEY didn't get written properly to the environment-secrets. While it would read "Updated just now" it would read out as being empty when the action runs.

Turns out that GH has separate key-pairs for each environment / "general action secrets" even though they all share the same "Key Id". I fixes this by hardcoding each of the key-pairs into the generate command.

Oh boi did that take me a while to figure out 😂...