fix(CI): only build and deploy on master
This commit is contained in:
parent
50bc47ce74
commit
dc38119da8
|
@ -18,6 +18,8 @@ Build:
|
|||
paths:
|
||||
- _site/
|
||||
expire_in: 1 week
|
||||
only:
|
||||
- master
|
||||
|
||||
Deploy:
|
||||
image: alpine
|
||||
|
@ -31,3 +33,5 @@ Deploy:
|
|||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||
script:
|
||||
- lftp sftp://fainsil:DUMMY@ftp.perso.bde.inp-toulouse.fr -e "mirror -e -R _site www_public --exclude content ; quit"
|
||||
only:
|
||||
- master
|
||||
|
|
Reference in a new issue