Skip to content
Snippets Groups Projects
Commit b1f7be4c authored by orestis.malaspin's avatar orestis.malaspin
Browse files

Update .gitlab-ci.yml

parent 244a9992
No related branches found
No related tags found
No related merge requests found
...@@ -27,17 +27,12 @@ before_script: ...@@ -27,17 +27,12 @@ before_script:
## Add host id to known_hosts ## Add host id to known_hosts
## ##
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- echo "$SSH_KNOWN_HOSTS_INFO" >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
build_and_deploy: build_and_deploy:
script: script:
- make - make
- rsync -avzz css malaspinas@129.194.185.180:/www/
- rsync -avzz figs malaspinas@129.194.185.180:/www/
- rsync -avzz index.html malaspinas@129.194.185.180:/www/
- blc http://129.194.185.180/ -ro --exclude *.pdf --filter-level 3
- rsync -avzz css ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/ - rsync -avzz css ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/
- rsync -avzz figs ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/ - rsync -avzz figs ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/
- rsync -avzz index.html ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/ - rsync -avzz index.html ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/
# - blc http://malaspinas.academy -ro --exclude *.pdf --filter-level 3 - blc http://malaspinas.academy -ro --exclude *.pdf --filter-level 3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment