-
Notifications
You must be signed in to change notification settings - Fork 139
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
Add API tokens to secrets #158
Comments
Thanks for the heads-up. I already set |
Hello! I will try to do a write up of the exact modifications needed to make API keys work later today, if you decide to go that route. If you'd like an example of code modified from eval=FALSE to using API tokens, you can look in the history of my file and the .github/workflows/bookdown.yaml file to see what it entails. The only other modification made was the creation of a github secret. |
Working again: https://github.com/jtr13/cc21fall2/actions/runs/1435105154 I had to add |
As I mentioned earlier, I have made a brief discussion post detailing the process. |
Chapters that require API tokens to build will not work unless we add the tokens to GitHub secrets and access them in GitHub actions. For now code chunks are set to
eval=FALSE
in https://jtr13.github.io/cc21fall2/scrape-twitter-data-using-r.html to circumvent this problem.@rjr2168 developed a workflow for https://jtr13.github.io/cc21fall2/video-introduction-to-maps-with-ggmap.html using this method which we can use as a model if other authors are interested in going this route.
If you set
eval=FALSE
for other chapters for the same reason, please add a reference to those chapters in this thread.The text was updated successfully, but these errors were encountered: