* .gitlab-ci.yml (publish-stable): Add scp for LRE's dload host.
This commit is contained in:
parent
376755dbd4
commit
c92418b51c
1 changed files with 2 additions and 1 deletions
|
|
@ -436,11 +436,12 @@ publish-stable:
|
||||||
- cd ..
|
- cd ..
|
||||||
- ls -l
|
- ls -l
|
||||||
- tgz=`ls spot-*.tar.* | head -n 1`
|
- tgz=`ls spot-*.tar.* | head -n 1`
|
||||||
- case $tgz in *[0-9].tar.*) scp $tgz doc@perso:/var/www/dload/spot/;; esac
|
- case $tgz in *[0-9].tar.*) scp $tgz doc@perso:/var/www/dload/spot/; scp $tgz doc@dload:/var/www/html/spot/;; esac
|
||||||
- rm -rf ./*
|
- rm -rf ./*
|
||||||
- curl -X POST -F ref=master -F token=$TRIGGER_SPOT_WEB -F "variables[spot_branch]=stable" https://gitlab.lre.epita.fr/api/v4/projects/131/trigger/pipeline
|
- curl -X POST -F ref=master -F token=$TRIGGER_SPOT_WEB -F "variables[spot_branch]=stable" https://gitlab.lre.epita.fr/api/v4/projects/131/trigger/pipeline
|
||||||
- curl -X POST "https://archive.softwareheritage.org/api/1/origin/save/git/url/https://gitlab.lre.epita.fr/spot/spot/"
|
- curl -X POST "https://archive.softwareheritage.org/api/1/origin/save/git/url/https://gitlab.lre.epita.fr/spot/spot/"
|
||||||
- curl "https://web.archive.org/save/https://www.lrde.epita.fr/dload/spot/$tgz"
|
- curl "https://web.archive.org/save/https://www.lrde.epita.fr/dload/spot/$tgz"
|
||||||
|
- curl "https://web.archive.org/save/https://www.lre.epita.fr/dload/spot/$tgz"
|
||||||
|
|
||||||
publish-unstable:
|
publish-unstable:
|
||||||
only:
|
only:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue