diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7f54b4e2a928feb59ddc3064342163380ac64d7..d6e02528f4f405b818c7bb78a1c043965e4fb593 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,8 @@ pages: done - cat html_src_files.lst | sed -e 's|\.md |.html |' -e 's|\.org |\.html |' -e 's|^./\([^ ]*\) *# *\([^ ]*\)|- [[./\1]] (\2)|' > index.org - pandoc -s -f org -t html -o public/index.html index.org + - cd module2/ressources/; tar zcf rr_org_archive.tgz rr_org/init.el rr_org/journal.org rr_org/init.org ; cd ../.. ; mv module2/ressources/rr_org_archive.tgz public/module2/ressources/ + - cd module2/ressources/; make -C replicable_article/ all ../replicable_article.tgz ; cd ../.. ; mv module2/ressources/replicable_article.tgz public/module2/ressources/ artifacts: paths: - public diff --git a/gitlab-ci.org b/gitlab-ci.org index fc2acca0fa04701615a343909062191d85fc937c..9ecf44e6299427e20c4e1310eee825bfaa5b14da 100644 --- a/gitlab-ci.org +++ b/gitlab-ci.org @@ -21,6 +21,8 @@ pages: done - cat html_src_files.lst | sed -e 's|\.md |.html |' -e 's|\.org |\.html |' -e 's|^./\([^ ]*\) *# *\([^ ]*\)|- [[./\1]] (\2)|' > index.org - pandoc -s -f org -t html -o public/index.html index.org + - cd module2/ressources/; tar zcf rr_org_archive.tgz rr_org/init.el rr_org/journal.org rr_org/init.org ; cd ../.. ; mv module2/ressources/rr_org_archive.tgz public/module2/ressources/ + - cd module2/ressources/; make -C replicable_article/ all ../replicable_article.tgz ; cd ../.. ; mv module2/ressources/replicable_article.tgz public/module2/ressources/ artifacts: paths: - public