From 1801b7b02f1bc79a1652fe3e6e106bfffa8f7bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr> Date: Tue, 10 Mar 2020 15:48:12 +0100 Subject: [PATCH] =?UTF-8?q?Supprime=20la=20pr=C3=A9sentation=20=C3=A0=20la?= =?UTF-8?q?=20racine.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ca pose des problèmes quand le BUILD est utilisé dans un autre projet. --- .gitlab-ci.yml | 16 ++++++++-------- BUILD | 14 -------------- README.md | 7 ------- 3 files changed, 8 insertions(+), 29 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d5e164a..c63e06b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,16 +13,16 @@ reveal.js: - reveal.js/ pages: - extends: .please-build stage: deploy + tags: [docker] + image: busybox + dependencies: [reveal.js] script: - - please build --noupdate -p :pages - - mkdir public - - mv plz-out/gen/{index.html,sample.BUILD,reveal.js} public/ + - mv reveal.js public artifacts: - name: pages + name: pages-$CI_COMMIT_REF_SLUG paths: - public - # only: - # refs: - # - tags + only: + refs: + - tags diff --git a/BUILD b/BUILD index d637e58..42dcbda 100644 --- a/BUILD +++ b/BUILD @@ -26,17 +26,3 @@ github_repo( build_file = "upstream.BUILD", hashes = "36f90d77ab3951b6185e631a1fc847bd8563d8bd", ) - -subinclude(":rules") - -filegroup( - name = "pages", - srcs = [ - pandoc( - src = "README.md", - out = "index.html", - ), - "sample.BUILD", - ":reveal.js", - ], -) diff --git a/README.md b/README.md index 7e4480c..5f2dc48 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,3 @@ ---- -title: Présentations HTML avec reveal.js -author: "[Guillaume Perréal](mailto:guillaume.perreal@inrae.fr?subject=reveal.js)" -date: 2020-03-10 -keywords: reveal.js, markdown, pandoc, slideshows, presentations, please-build ---- - # Introduction ## reveal.js -- GitLab