fuzzyworld

find-stone-beer / commit

Serving results.html as a gitlab page.

97ba7d2c01b35de52ff9e85e9b5e2e7c71ff57d0 · Pavel Safronov · 2023-08-23 13:01:58 -0700 · parents ab57618f9ad2

Serving results.html as a gitlab page.
 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fb5c98e..f615f90 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,3 +22,12 @@ run-job:
     paths:
       - results.html
   
+pages:
+  stage: deploy
+  script:
+    - mv results.html public/index.html
+  artifacts:
+    paths:
+      - public
+  only:
+    - main
\ No newline at end of file