From b2bfce2d26002002678bbff2631fd26ccced15f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20G=C3=B3rnicki?= Date: Sun, 8 May 2022 23:33:25 +0200 Subject: [PATCH] chore(ci): publish live demo on gitlab pages --- .gitlab-ci.yml | 11 +++++++++++ sample/live-demo.html | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69399f0..9cd9d95 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,3 +27,14 @@ release: - npm run semantic-release rules: - if: '$CI_COMMIT_BRANCH == "master"' + +pages: + stage: release + script: + - mkdir -p public + - cp sample/live-demo.html public/index.html + artifacts: + paths: + - public + rules: + - if: '$CI_COMMIT_BRANCH == "master"' diff --git a/sample/live-demo.html b/sample/live-demo.html index ba0cd23..ba02aaa 100644 --- a/sample/live-demo.html +++ b/sample/live-demo.html @@ -91,7 +91,7 @@ https://youtu.be/B7C83L6iWJQ - +