Created
August 12, 2016 09:31
-
-
Save fusionstrings/e3d68336c77036f3c46ca6d0b8ab5e4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- build | |
- test | |
- deploy | |
build_release: | |
script: | |
- composer update | |
- rm -rf .bowerrc .gitignore .gitlab-ci.yml .git apigen.neon bower.json composer.json composer.lock dandelion/ gulpfile.js package.json assets/src/ assets/migrations/ | |
- cd .. | |
- tar cvzf kin_$CI_BUILD_REF_NAME.tar.gz kin | |
- scp kin_$CI_BUILD_REF_NAME.tar.gz user@host:/path/to/destination-folder/ | |
- rm kin_$CI_BUILD_REF_NAME.tar.gz | |
stage: build | |
only: | |
- /v[0-9].*$/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment