From e2e2d7ef1b88a52a09892b31c730ed58298a48f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marko=20Ivan=C4=8Di=C4=87?= <marko.ivancic@srce.hr>
Date: Mon, 8 May 2023 17:15:50 +0200
Subject: [PATCH] WIP

---
 .gitlab-ci.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index de24dff..0034641 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,7 @@ cache:
 # List of stages for jobs, and their order of execution
 stages:
   - test
+  - deploy
 
 # PHP v7.4
 test-74:
@@ -31,3 +32,15 @@ test-81:
   script:
     - composer install --prefer-dist --no-progress --no-suggest
     - composer run-script pre-commit
+
+# PHP v8.1
+niif-update:
+  tags:
+    - niif-hu-shell
+  stage: deploy
+  rules:
+    - if: '$CI_COMMIT_BRANCH == "runner"'
+  #      when: manual
+  script:
+    - cd /var/www/simplesamlphp
+    - composer update -n cicnavi/simplesamlphp-module-accounting
-- 
GitLab