diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index adbfc03ab06ed110acd8d9771221b6819c7c92db..da0bf77c3e231e4625b0afaef54b571c8ba66cb0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,8 +18,8 @@ build: prod_deploy: stage: deploy script: - - cd /srv/srctweb-jekyll/srctweb && git pull && cd ../ - - mv /srv/srctweb-jekyll/srctweb/* /srv/srctweb-jekyll/ + - cd /srv/srctweb-jekyll/source && git pull && cd ../ + - cp /srv/srctweb-jekyll/source/* /srv/srctweb-jekyll/ - cd /srv/srctweb-jekyll/ && bundle exec jekyll build --trace -d '/srv/srctweb-jekyll/_site' only: - master