-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Imported from UCL-RITS/doctoral-programming-intro#17
- Loading branch information
Showing
7 changed files
with
71 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-r ../../requirements.txt | ||
git+https://github.com/jakevdp/JSAnimation.git | ||
nbconvert==5.6.1 | ||
# https://github.com/jupyter/nbgrader/issues/1373#issuecomment-702798246 | ||
jupyter-client==6.1.12 | ||
# https://github.com/jupyter/jupyter_client/issues/637 | ||
git+https://github.com/ucl-rits/greeter.git | ||
git+https://github.com/rkern/line_profiler.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pandoc | ||
texlive-base | ||
texlive-latex-base | ||
texlive-latex-recommended | ||
texlive-latex-extra | ||
texlive-fonts-recommended | ||
texlive-xetex | ||
texlive-science | ||
tree | ||
lmodern | ||
fonts-cmu | ||
inkscape | ||
ffmpeg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Build website | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
Build-website: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/cache@v2 # FIXME: add pip + latex + gems | ||
with: | ||
path: vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }} | ||
restore-keys: | | ||
${{ runner.os }}-gems- | ||
- name: Install TeXLive | ||
uses: DanySK/setup-texlive-action@0.1.1 | ||
- id: setup-python | ||
name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Install dependencies | ||
uses: py-actions/py-dependency-install@v2 | ||
with: | ||
path: ".github/python/requirements.txt" | ||
- name: Building notes | ||
run: make ready | ||
- name: Builds website | ||
uses: helaili/jekyll-action@v2 | ||
with: | ||
target_branch: 'gh-pages' | ||
build_only: true | ||
- name: Build website and deploy | ||
if: github.ref == 'refs/heads/master' | ||
uses: helaili/jekyll-action@v2 | ||
with: | ||
target_branch: 'gh-pages' | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'jekyll', '~> 3.1.6' | ||
gem 'redcarpet', '~> 3.5.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.