Browse Source

Add a deploy step and see if it can see what the test step does

tags/3.1.0
Mike Koch 2 years ago
parent
commit
abf632b3da
1 changed files with 10 additions and 4 deletions
  1. 10
    4
      .gitlab-ci.yml

+ 10
- 4
.gitlab-ci.yml View File

@@ -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
#- php deploy_release_to_github.php

deploy:
when: manual
script:
- ls
- php -r "echo 'Hello, world!';"

Loading…
Cancel
Save