Skip to content

Commit

Permalink
change location of deploy tutorials script
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentheirendt committed Apr 1, 2019
1 parent 63bc602 commit 14bb14e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .artenolis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ after_success:
python $ARTENOLIS_SCRIPTS_PATH/src/github_stats.py $(pwd)/docs/source/list_contributors.rst;
export GIT_LOCAL_BRANCH=${GIT_BRANCH##origin/};
echo $GIT_LOCAL_BRANCH;
scp "$(pwd)/.artenolis/deployTutorials.sh" jenkins@lcsbs-mac-pro.uni.lux:$ARTENOLIS_ROOT_PATH_MAC;
ssh -t jenkins@lcsbs-mac-pro.uni.lux 'source ~/.profile && GIT_LOCAL_BRANCH='"'$GIT_LOCAL_BRANCH'"' && sh $ARTENOLIS_ROOT_PATH_MAC/deployTutorials.sh';
scp "$(pwd)/.artenolis/deployTutorials.sh" jenkins@lcsbs-mac-pro.uni.lux:$ARTENOLIS_ROOT_PATH_MAC/scratch/.;
ssh -t jenkins@lcsbs-mac-pro.uni.lux 'source ~/.profile && GIT_LOCAL_BRANCH='"'$GIT_LOCAL_BRANCH'"' && sh $ARTENOLIS_ROOT_PATH_MAC/scratch/deployTutorials.sh';
scp -r jenkins@lcsbs-mac-pro.uni.lux:$ARTENOLIS_ROOT_PATH_MAC/scratch/tutorials $ARTENOLIS_DATA_PATH/cobratoolbox/.;
cd $ARTENOLIS_DATA_PATH/repos/COBRA.tutorials && git stash && git checkout $GIT_LOCAL_BRANCH && git pull origin $GIT_LOCAL_BRANCH;
cd $ARTENOLIS_DATA_PATH/repos/cobratoolbox && git stash && git checkout $GIT_LOCAL_BRANCH && git pull origin $GIT_LOCAL_BRANCH && git submodule update --init;
Expand Down

0 comments on commit 14bb14e

Please sign in to comment.