Commit 0fc17190 authored by zauberstuhl's avatar zauberstuhl
Browse files

Deploy on tags only

parent 2c73c4dc
......@@ -15,4 +15,4 @@ push:
script:
- bash .gitlab/ci/scripts/run.sh deploy
only:
- master
- tags
......@@ -20,12 +20,12 @@ function build() {
fi
}
if [ "$directory" == "" ]; then
if [ "$CI_COMMIT_TAG" == "" ]; then
for directory in $(ls); do
if [ -d "$directory" ]; then
build "$directory";
fi
done
else
build "$directory";
build "$(echo $CI_COMMIT_TAG | cut -d- -f2)";
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment