Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

feature/progress-tracker #50

Closed
wants to merge 51 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
2dd18bd
adding some test data and rendering
crazy4pi314 May 14, 2021
075da9f
adding new results page
crazy4pi314 May 16, 2021
57d4b3c
adding scrips, still needs action and secret
crazy4pi314 May 17, 2021
810a313
Merge branch 'main' into feature/progress-tracker
crazy4pi314 May 17, 2021
dad2e6a
updating to get api key from env var
crazy4pi314 May 17, 2021
9c0a0ac
add new build action
crazy4pi314 May 17, 2021
ccb8dec
fixing requirements install
crazy4pi314 May 17, 2021
8bcc1a8
sigh, fix path, push to same branch
crazy4pi314 May 17, 2021
e322024
updating lock for actions error
crazy4pi314 May 17, 2021
8fbe9aa
adding results page detail
crazy4pi314 May 18, 2021
46b290b
morning data
crazy4pi314 May 18, 2021
e04262b
updating action
crazy4pi314 May 18, 2021
b811ba8
switching trigger branch
crazy4pi314 May 18, 2021
d45d114
fixing target branch
crazy4pi314 May 18, 2021
928ef07
Merge branch 'main' into feature/progress-tracker
crazy4pi314 May 18, 2021
7614b48
fix typo
crazy4pi314 May 18, 2021
c0c19d1
fixing uses destination
crazy4pi314 May 18, 2021
7a3adee
typo 🤦‍♀️
crazy4pi314 May 18, 2021
bdbf120
adding action to update gh-pages branch
crazy4pi314 May 18, 2021
8066f0e
Merge branch 'main' of https://github.com/unitaryfund/unitaryhack int…
crazy4pi314 May 18, 2021
b0e7cca
trying different way to get changes on main
crazy4pi314 May 18, 2021
3ce71bc
pull and push
crazy4pi314 May 18, 2021
f5e1b5a
adding more git options
crazy4pi314 May 18, 2021
94a2d05
testing on same working branch
crazy4pi314 May 18, 2021
3683f14
fetch?
crazy4pi314 May 18, 2021
3fa2041
only fetching main
crazy4pi314 May 18, 2021
a183201
maybe no /
crazy4pi314 May 18, 2021
2a99a63
fixing syntax
crazy4pi314 May 18, 2021
b8e6d27
allow disowned relatives
crazy4pi314 May 18, 2021
00c40c6
I like pumpkins
crazy4pi314 May 18, 2021
c045722
trying rev-parse
crazy4pi314 May 18, 2021
a2884b7
fixing pwsh syntax
crazy4pi314 May 18, 2021
379a80e
giving gha jekyll info
crazy4pi314 May 18, 2021
7cbe2f0
Changing triggers
crazy4pi314 May 18, 2021
e8922c9
take 100
crazy4pi314 May 19, 2021
06d7708
fixing kramdown dependency
crazy4pi314 May 19, 2021
f0cc6d7
switching to seperate build/deploy
crazy4pi314 May 19, 2021
60dc717
adding ruby setup
crazy4pi314 May 19, 2021
29e96e8
adding linux gemlock
crazy4pi314 May 19, 2021
42063f8
regenerated lock instead
crazy4pi314 May 19, 2021
9563c3a
ruby cache removed
crazy4pi314 May 19, 2021
ce112eb
bundle install
crazy4pi314 May 19, 2021
91ed4ee
not using gemlock
crazy4pi314 May 19, 2021
a1b5c36
trying new ruby stuff
crazy4pi314 May 19, 2021
77e3429
version
crazy4pi314 May 19, 2021
f1deadd
switching to docker
crazy4pi314 May 19, 2021
7adca74
removing scraping for api limits
crazy4pi314 May 19, 2021
0ffbbf5
Revert "adding ruby setup"
crazy4pi314 May 19, 2021
4ff5f5b
using right branch
crazy4pi314 May 19, 2021
2821021
reoder ruby
crazy4pi314 May 19, 2021
59db755
removing to test site gen
crazy4pi314 May 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/update-results.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Update Contest Results

on:
workflow_dispatch:
inputs: {}
push:
branches: [ main, feature/progress-tracker ]
schedule:
- cron: "0 * * * *"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6 # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Scrape the GitHub API
run: |
pip install -r _data/requirements.txt
python _data/scrape_github.py
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build the website
run: bundle exec jekyll build
- name: Deploy
uses: peaceiris/[email protected]
env:
PUBLISH_DIR: _site
PUBLISH_BRANCH: gh-pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Container image that runs your code
FROM ruby:2.7

COPY Gemfile /Gemfile
COPY Gemfile.lock /Gemfile.lock
RUN bundle install --gemfile=/Gemfile

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh

# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]
7 changes: 5 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ source "https://rubygems.org"
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins
gem "github-pages", "~> 214", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.9"
Expand All @@ -27,5 +27,8 @@ platforms :mingw, :x64_mingw, :mswin, :jruby do
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
platforms :mingw, :x64_mingw, :mswin do
gem "wdm", "~> 0.1.1"
end
gem "kramdown", "2.3.1"

74 changes: 39 additions & 35 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.3.4)
activesupport (6.0.3.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
Expand All @@ -22,20 +22,24 @@ GEM
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
ethon (0.12.0)
ffi (>= 1.3.0)
eventmachine (1.2.7-x64-mingw32)
execjs (2.7.0)
faraday (1.3.0)
ethon (0.14.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
execjs (2.8.1)
faraday (1.4.1)
faraday-excon (~> 1.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
multipart-post (>= 1.2, < 3)
ruby2_keywords
faraday-net_http (1.0.0)
ffi (1.14.2-x64-mingw32)
ruby2_keywords (>= 0.0.4)
faraday-excon (1.1.0)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.1.0)
ffi (1.15.0)
forwardable-extended (2.6.0)
gemoji (3.0.1)
github-pages (209)
github-pages-health-check (= 1.16.1)
github-pages (214)
github-pages-health-check (= 1.17.0)
jekyll (= 3.9.0)
jekyll-avatar (= 0.7.0)
jekyll-coffeescript (= 1.1.1)
Expand All @@ -50,9 +54,9 @@ GEM
jekyll-readme-index (= 0.3.0)
jekyll-redirect-from (= 0.16.0)
jekyll-relative-links (= 0.6.1)
jekyll-remote-theme (= 0.4.2)
jekyll-remote-theme (= 0.4.3)
jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.6.1)
jekyll-seo-tag (= 2.7.1)
jekyll-sitemap (= 1.4.0)
jekyll-swiss (= 1.0.0)
jekyll-theme-architect (= 0.1.1)
Expand All @@ -76,13 +80,13 @@ GEM
mercenary (~> 0.3)
minima (= 2.5.1)
nokogiri (>= 1.10.4, < 2.0)
rouge (= 3.23.0)
rouge (= 3.26.0)
terminal-table (~> 1.4)
github-pages-health-check (1.16.1)
github-pages-health-check (1.17.0)
addressable (~> 2.3)
dnsruby (~> 1.60)
octokit (~> 4.0)
public_suffix (~> 3.0)
public_suffix (>= 2.0.2, < 5.0)
typhoeus (~> 1.3)
html-pipeline (2.14.0)
activesupport (>= 2)
Expand Down Expand Up @@ -136,15 +140,15 @@ GEM
jekyll (>= 3.3, < 5.0)
jekyll-relative-links (0.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-remote-theme (0.4.2)
jekyll-remote-theme (0.4.3)
addressable (~> 2.0)
jekyll (>= 3.5, < 5.0)
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
rubyzip (>= 1.3.0, < 3.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-seo-tag (2.7.1)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-swiss (1.0.0)
Expand Down Expand Up @@ -201,33 +205,35 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.4.1)
listen (3.5.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.5.1)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.14.2)
minitest (5.14.4)
multipart-post (2.1.1)
nokogiri (1.11.0-x64-mingw32)
nokogiri (1.11.4)
mini_portile2 (~> 2.5.0)
racc (~> 1.4)
octokit (4.20.0)
octokit (4.21.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (3.1.1)
public_suffix (4.0.6)
racc (1.5.2)
rb-fsevent (0.10.4)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.23.0)
ruby-enum (0.8.0)
rouge (3.26.0)
ruby-enum (0.9.0)
i18n
ruby2_keywords (0.0.2)
ruby2_keywords (0.0.4)
rubyzip (2.3.0)
safe_yaml (1.0.5)
sass (3.7.4)
Expand All @@ -238,7 +244,7 @@ GEM
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
simpleidn (0.1.1)
simpleidn (0.2.1)
unf (~> 0.1.4)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
Expand All @@ -247,22 +253,20 @@ GEM
ethon (>= 0.9.0)
tzinfo (1.2.9)
thread_safe (~> 0.1)
tzinfo-data (1.2021.1)
tzinfo (>= 1.0.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7-x64-mingw32)
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
wdm (0.1.1)
zeitwerk (2.4.2)

PLATFORMS
x64-mingw32
ruby

DEPENDENCIES
github-pages
github-pages (~> 214)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
kramdown (= 2.3.1)
minima (~> 2.5)
tzinfo (~> 1.2)
tzinfo-data
Expand Down
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ description: > # this means to ignore newlines until "show_excerpts:"
Unitary Fund is a 501(c)(3) non-profit helping create a quantum
technology ecosystem that benefits the most people.
show_excerpts: false # set to true to show excerpts on the homepage
#baseurl: "" # the subpath of your site, e.g. /blog
#url: "" # the base hostname & protocol for your site, e.g. http://example.com
baseurl: "unitaryhack" # the subpath of your site, e.g. /blog
url: "https://unitaryfund.github.io" # the base hostname & protocol for your site, e.g. http://example.com
# Minima date format
# refer to https://shopify.github.io/liquid/filters/date/ if you want to customize this
minima:
Expand Down
20 changes: 0 additions & 20 deletions _data/closed-bounties.yaml

This file was deleted.

53 changes: 0 additions & 53 deletions _data/merged-prs.yaml

This file was deleted.

Loading