* .gitlab-ci.yml (publish-stable): Use scp instead of cp.

This commit is contained in:
Alexandre Duret-Lutz 2018-03-28 14:15:53 +02:00
parent 82796c04ae
commit 89f7047925

View file

@ -211,7 +211,7 @@ publish-stable:
- ls -l
- dput lrde *.changes
- tgz=`ls spot-*.tar.* | head -n 1`
- case $tgz in *[0-9].tar.*) cp $tgz /lrde/dload/spot/;; esac
- case $tgz in *[0-9].tar.*) scp $tgz doc@perso:/var/www/dload/spot/;; esac
- curl -X POST -F ref=master -F token=$TRIGGER_SPOT_WEB -F "variables[skip_next]=1" https://gitlab.lrde.epita.fr/api/v4/projects/131/trigger/pipeline
publish-unstable: