diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de24dff190439953d974a2432921568004e8558e..88e2c4a2d435e9dc3f5411daece41c6d5bb39d06 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,16 @@ test-81: script: - composer install --prefer-dist --no-progress --no-suggest - composer run-script pre-commit + +# TODO mivanci remove when GEANT project finishes +# Do some updates on the test deployment... +niif-update: + tags: + - niif-hu-shell + stage: deploy + rules: + - if: '$CI_COMMIT_BRANCH == "main"' + # when: manual + script: + - cd /var/www/simplesamlphp + - composer update -n cicnavi/simplesamlphp-module-accounting