add ftp to CI
This commit is contained in:
parent
83354cbf8e
commit
f10f0539cc
1 changed files with 6 additions and 1 deletions
|
@ -1,11 +1,16 @@
|
||||||
image: aergus/latex # use a Docker image for LaTeX from https://hub.docker.com/
|
image: aergus/latex # use a Docker image for LaTeX from https://hub.docker.com/
|
||||||
|
|
||||||
pages:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
variables:
|
variables:
|
||||||
USER: "gitlab-runner"
|
USER: "gitlab-runner"
|
||||||
|
before_script:
|
||||||
|
- apt-get update -qy
|
||||||
|
- apt-get install -y lftp
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./compile.sh # build the pdf
|
- ./compile.sh # build the pdf
|
||||||
|
- lftp -e "open sftp.zamok.crans.org; user $FTP_USERNAME $FTP_PASSWORD; mirror public/ www/m1-eea/; bye"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public # instruct GitLab to keep the public folder
|
- public # instruct GitLab to keep the public folder
|
||||||
|
|
Loading…
Reference in a new issue