Skip to content
Snippets Groups Projects
Commit 294cebbf authored by Fabien Zucchet's avatar Fabien Zucchet
Browse files

remove CI

parent adb3f61c
No related branches found
No related tags found
No related merge requests found
image: node:15
stages:
- deploy
################################################################################
##### PROD-DEPLOY STAGE #####
################################################################################
prod-deploy:
stage: deploy
only:
- master
script:
- "which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )"
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- >
ssh root@leaderboard.cs-campus.fr
"cd leaderboard &&
git stash &&
git checkout master &&
git stash &&
git pull"
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment