diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20209c80b9c6eadb13521625b54de99821e83d12..d82e06ffc785f4696fa0a70fb985850c55eabeef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,12 +6,10 @@ pages: script: - mkdir public - tar czf public/pandas-tutorial-tasks.tar.gz --transform 's,^,pandas-tutorial-tasks/,' Introduction-to-Pandas--tasks.ipynb Introduction-to-Pandas--solution.ipynb lost.json nest-data.csv - - tar czf public/pandas-tutorial-tasks--jureca.tar.gz --transform 's,^,pandas-tutorial-tasks/,' Introduction-to-Pandas--JURECA--tasks.ipynb Introduction-to-Pandas--JURECA--solution.ipynb lost.json nest-data.csv - cp Introduction-to-Pandas--slides.ipynb public/ - cp Introduction-to-Pandas--slides.pdf public/ - tar czf public/pandas-tutorial-slides.tar.gz --transform 's,^,pandas-tutorial-slides/,' Introduction-to-Pandas--slides.html custom.css fzj.js img/ reveal.js/ - git checkout -f pages - - git reset --hard origin/pages - cp index.html public/ artifacts: paths: diff --git a/Makefile b/Makefile index 77df2f0bfbcedcf3c001503ae6238e9342c7de09..47953742463d60492ea02f403dfa7c01b01f894c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ SLIDES = Introduction-to-Pandas--slides.html -SUBNOTEBOOKS = Introduction-to-Pandas--slides.ipynb Introduction-to-Pandas--tasks.ipynb Introduction-to-Pandas--solution.ipynb Introduction-to-Pandas--JURECA--tasks.ipynb Introduction-to-Pandas--JURECA--solution.ipynb +SUBNOTEBOOKS = Introduction-to-Pandas--slides.ipynb Introduction-to-Pandas--tasks.ipynb Introduction-to-Pandas--solution.ipynb MASTER_NOTEBOOK = Introduction-to-Pandas--master.ipynb @@ -29,10 +29,3 @@ Introduction-to-Pandas--tasks.ipynb: $(MASTER_NOTEBOOK) Introduction-to-Pandas--solution.ipynb: $(MASTER_NOTEBOOK) ./notebook-task-filter.py $< --keep task --keep nopresentation --keep solution --keep onlysolution --remove all -o $@ - - -Introduction-to-Pandas--JURECA--tasks.ipynb: Introduction-to-Pandas--tasks.ipynb - sed 's/"display_name": "Python 3"/"display_name": "JSC Pandas Tutorial"/g; s/"name": "python3"/"name": "pandas"/g' $< > $@ - -Introduction-to-Pandas--JURECA--solution.ipynb: Introduction-to-Pandas--solution.ipynb - sed 's/"display_name": "Python 3"/"display_name": "JSC Pandas Tutorial"/g; s/"name": "python3"/"name": "pandas"/g' $< > $@