a11yproject.com icon indicating copy to clipboard operation
a11yproject.com copied to clipboard

Set up environment variables

Open ericwbailey opened this issue 5 years ago • 5 comments

Adding environment variables will allow us to differentiate between local development and the live, published site. This is great for things like ensuring our analytics are accurate, as well as better CI/CD integration (not to mention clever things like creating favicons to indicate if the site is live or not when working on it).

Here's a good starting point on setting this up in Eleventy: https://weblog.herok.pl/posts/eleventy-tip-use-environment-variables/

ericwbailey avatar Jul 12 '20 15:07 ericwbailey

@ericwbailey May I get involved with this one?

danielmatthew avatar Sep 10 '20 08:09 danielmatthew

That'd be amazing!

ericwbailey avatar Sep 10 '20 14:09 ericwbailey

To reference later: https://css-tricks.com/give-your-eleventy-site-superpowers-with-environment-variables/

@danielmatthew Is this something you're still interested in? No worries if not.

ericwbailey avatar Jan 09 '21 23:01 ericwbailey

@ericwbailey I am! I'm sorry – extracurricular activities fell by the wayside towards the end of last year.

danielmatthew avatar Jan 10 '21 17:01 danielmatthew

@danielmatthew No worries, especially considering this year. Just checking in!

ericwbailey avatar Jan 10 '21 20:01 ericwbailey