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

Add script to travis build to regenerate website repo #45

Open
5 tasks
titaniumbones opened this issue Dec 8, 2018 · 0 comments
Open
5 tasks

Add script to travis build to regenerate website repo #45

titaniumbones opened this issue Dec 8, 2018 · 0 comments

Comments

@titaniumbones
Copy link
Contributor

This is a bit of a tricky problem (cf #43). Since we are using github classroom, the best solution for getting student info into the website is to add some kind of a script to travis that rebuilds the website after tests run & pass. here's one option:

  • tests run, pass
  • travis clones the website repo locally
  • travis copies the relevant files (githubid.jpeg, githubid.md) into the website repo
    • issue: travis needs to somehow suss out the ghid of the student. What's the best way to do this?
  • travis runs the website creation script (createjson.js)
  • travis pushes to the gh-pages branch of the website, ta-da,we're done.

Since I'm just spitballing... what do you think of this @jevi-me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant