fix(CI): only build and deploy on master

This commit is contained in:
Laureηt 2022-02-02 23:47:14 +01:00
parent 50bc47ce74
commit dc38119da8
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -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