From ac44534ac1f55b8d36ddcdfce224955f49e50749 Mon Sep 17 00:00:00 2001
From: stuebinm <stuebinm@disroot.org>
Date: Sun, 21 Nov 2021 19:47:16 +0100
Subject: [PATCH] gitlab pipeline: more reasonable artefact

---
 .gitlab-ci.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 447dec0..81a7cc2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: haskell
+image: haskell:8.10.7
 
 stages:
   - build
@@ -7,6 +7,9 @@ build-job:
   stage: build
   script:
     - stack build --install-ghc
+    - mkdir dist
+    - cp .stack-work/install/x86_64-linux-tinfo6/*/*/bin/walint dist
+    - cp config.json dist
   artifacts:
     paths:
-      - .stack-work/install/x86_64-linux-tinfo6/*/*/bin/walint
+      - dist
-- 
GitLab