Skip to content

Instantly share code, notes, and snippets.

@fusionstrings
Created August 12, 2016 09:31
Show Gist options
  • Save fusionstrings/e3d68336c77036f3c46ca6d0b8ab5e4f to your computer and use it in GitHub Desktop.
Save fusionstrings/e3d68336c77036f3c46ca6d0b8ab5e4f to your computer and use it in GitHub Desktop.
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