File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,29 @@ jobs:
22
22
uses : actions/setup-python@v1
23
23
with :
24
24
python-version : ${{ matrix.python-version }}
25
+
26
+ # Caching
27
+ - name : Try to uncache environment
28
+ uses : actions/cache@v2
29
+ with :
30
+ path : ${{ env.pythonLocation }}
31
+ key : ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('dev-requirements.txt') }}
32
+
33
+ # Installing
25
34
- name : Install dependencies
26
35
run : |
27
- pip install -r ./docs/requirements.txt
28
-
36
+ pip install -r ./docs/requirements.txt --upgrade --upgrade-strategy eager
37
+
29
38
# Build the book
30
39
- name : Build the book
31
40
run : |
32
41
jupyter-book build docs
33
42
43
+ # Move pdfs
44
+ - name : Moving slides to static HTML
45
+ run : |
46
+ cat ./docs/slides/manifest.txt | xargs -I % cp -r ./docs/slides/%/%.pdf ./docs/_build/html/
47
+
34
48
# Deploy the book's HTML to gh-pages branch
35
49
- name : GitHub Pages action
36
50
Original file line number Diff line number Diff line change
1
+ talk
You can’t perform that action at this time.
0 commit comments