From 85db27694aaab473723f2d05b251ee55b00ae0b9 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Wed, 28 Mar 2018 14:15:53 +0200 Subject: [PATCH] * .gitlab-ci.yml (publish-stable): Use scp instead of cp. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da1fe76c8..9e6ff3d40 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: