From 254937d2f7e9b899beecdb6125cf21d6511878fc Mon Sep 17 00:00:00 2001
From: Andreas Herten <a.herten@fz-juelich.de>
Date: Tue, 26 Feb 2019 11:12:37 +0100
Subject: [PATCH] Try to put the files inside the tar balls into
 sub-directories

As per this SO tip, which uses GNU tar: https://superuser.com/a/237752/513105
---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 661d8ed..bcdff8b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,10 +4,11 @@ pages:
   stage: deploy
   script:
   - mkdir public
-  - tar czf public/pandas-tutorial-tasks.tar.gz Introduction-to-Pandas--tasks.ipynb Introduction-to-Pandas--solution.ipynb lost.json nest-data.csv
+  - 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 Introduction-to-Pandas--slides.html custom.css custom.js fzj.js img/ reveal.js/
+  - tar czf public/pandas-tutorial-slides.tar.gz  --transform 's,^,pandas-tutorial-slides/,' Introduction-to-Pandas--slides.html custom.css custom.js fzj.js img/ reveal.js/
   - git checkout -f pages
   - cp index.html public/
   artifacts:
-- 
GitLab