Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
xstra-dev
tp-gitlab-ci
Commits
78acbfb8
Commit
78acbfb8
authored
Nov 30, 2017
by
Matthieu Boileau
Browse files
Update make_* scripts
parent
44437b22
Pipeline
#8904
passed with stages
in 20 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
78acbfb8
...
...
@@ -4,8 +4,8 @@ pages:
image
:
jupyter/minimal-notebook
script
:
-
mkdir public
-
./make_slides.sh
-
./make_archive.sh
-
./
scripts/
make_slides.sh
-
./
scripts/
make_archive.sh
artifacts
:
paths
:
-
public
...
...
make_archive.sh
→
scripts/
make_archive.sh
View file @
78acbfb8
...
...
@@ -3,7 +3,8 @@
rm
-rf
archive
mkdir
-p
archive
cp
tp-gitlab-ci.ipynb archive/
cp
*
.png archive/
cp
-r
images archive/
cp
-r
videos archive/
tar
cfvz archive.tar.gz archive
mkdir
-p
public
mv
archive.tar.gz public/
make_slides.sh
→
scripts/
make_slides.sh
View file @
78acbfb8
...
...
@@ -8,4 +8,5 @@ revealprefix="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0"
jupyter-nbconvert
$notebooks
--to
slides
--reveal-prefix
$revealprefix
--output-dir
=
public
jupyter-nbconvert index.ipynb
--to
html
--output-dir
=
public
cp
*
.ipynb public/
cp
*
.png public/
cp
-r
images public/
cp
-r
videos public/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment