-
Notifications
You must be signed in to change notification settings - Fork 34
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
Research planning for foss-profiles v2.0 #68
Comments
OpenWhisk offers a built-in package for webhook with GitHub event. In case we choose to use it, the aspect of triggering the update of the profile webpage once a PR is authorized will be supported. More info on the package is available here. |
The cheapest solution could possibly be using gh-pages without coupling a external webhook and service. I’ve made something slightly similar before a few years ago taking advantage of the _data directory in Jekyll: https://github.com/RITIVCF/ritivcf.github.io/blob/master/_includes/smallgroups.html. In this case I used a single collective yaml file in a _data directory which held all the data and auto generated a div field of each line item. It can be customized to use multi-yaml files instead of one like blog posting. |
I took a look. It seems exactly like what we were expecting to do. Knowing that the PR are made and the YAML file are stored in a given folder, we can just iterate in the html file to read the data from all the files contained in the respective folder. Thereby, every time someone opens the URL, the web page will auto populate, and provide update-to-date info about the community. It is simple, works, and does not requires hosting outside; hence no additional cost. |
I worked on creating a jekyll based profile page. Here is what I have so far using the minima theme. |
Whoooaaaaa @kennedy, this is awesome! 😍 You've been busy! Do you think you could get a PR up soon with the work you have so far? My only feedback is it would be nice to put the different categories (Student, Mentor, Faculty, Alum) on different pages in some sort of navigation bar at the top. The current page is a little long. However, I'd also be okay with a PR merging what you have so far, and then we can try to invite some other folks to help out with the work too. Another improvement could be to add buttons to navigate to specific names (e.g. a |
I created a pr |
Summary
Determine a new way to automatically deploy foss-profiles HTML into a hosting site
Background
This is a new project in 2020 for the @FOSSRIT/tech-team. foss-profiles is one of the oldest projects we have, and it acts like a directory of folks involved with the FOSS community at RIT. To bring it one step further, we want to generate and publish the HTML pages each time a new pull request is merged.
The requirements for v2.0 are as follows:
master
, automatically generate HTML and publish it on a publicly visible URLDetails
@10eMyrT and I met at BrickHack 6 and outlined what the interface could look like, some of the tools for the job:
We discussed two possible ways of doing this. The decision we make could be a mix of these too, or an idea we haven't considered yet. The emphasis should be on reducing cost and easy maintainability:
master
master
Outcome
Anyone can view the foss-profiles directory on the web
The text was updated successfully, but these errors were encountered: