Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure secrets on GH and Heroku for buildtime data fetching #111

Open
zenlex opened this issue Aug 6, 2022 · 2 comments
Open

Configure secrets on GH and Heroku for buildtime data fetching #111

zenlex opened this issue Aug 6, 2022 · 2 comments
Assignees
Labels
ci/cd infrastructure / automation

Comments

@zenlex
Copy link
Collaborator

zenlex commented Aug 6, 2022

To facilitate static site build, we will use Next's getStaticProps() method to fetch data from GitHub Repos, Meetup, and Google Sheets. This will require configuration of secrets on both GitHub and Heroku. The data fetch will get run on each build, so the repo secrets will facilitate PR testing, and the Heroku secrets will facilitate deployment fetches. If there are no changes to the site other than potential updates to the external datasets, we should be able to just redeploy to update data to latest.

@zenlex zenlex self-assigned this Aug 6, 2022
@zenlex
Copy link
Collaborator Author

zenlex commented Aug 6, 2022

Need to decide on approach for local development - either dummy dataset with shared keys or a secret sharing solution on a need to know basis for people working on those components.

@zenlex zenlex removed the hold putting this pr/issue on pause pending discussion label Oct 22, 2022
@zenlex
Copy link
Collaborator Author

zenlex commented Oct 22, 2022

We will just pass keys to devs on a need to know basis and rotate if issues are suspected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd infrastructure / automation
Projects
Status: Backlog
Development

No branches or pull requests

1 participant