From abf632b3dabcc2a18c24aaa5fe8884578301b4fa Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sun, 25 Jun 2017 16:42:49 -0400 Subject: [PATCH] Add a deploy step and see if it can see what the test step does --- .gitlab-ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 078adb69..c14e85e8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,10 @@ image: tetraweb/php -#before_script: -#- bash ci/docker_install.sh > /dev/null +stages: + - test + - deploy test: - #when: manual before_script: - apt-get update - apt-get install zip unzip @@ -19,4 +19,10 @@ test: - phpunit - cd ../../ci - bash build_zip.sh - #- php deploy_release_to_github.php \ No newline at end of file + #- php deploy_release_to_github.php + +deploy: + when: manual + script: + - ls + - php -r "echo 'Hello, world!';" \ No newline at end of file