Skip to content
Snippets Groups Projects
Commit 8aba14b2 authored by Tom Wiesing's avatar Tom Wiesing
Browse files

Update .gitlab-ci.yml

parent 09dae383
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -28,12 +28,14 @@ before_script: ...@@ -28,12 +28,14 @@ before_script:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
deploy_staging: deploy_staging:
stage: deploy stage: deploy
script: script:
# build the website # build the website
- bundle exec jekyll build -d _site - bundle exec jekyll build -d _site
# copy over all the files into the deployment folder # copy over all the files into the deployment folder
- cd _site && rsync -rv -e ssh --checksum ./ deploy@static.kwarc.info:/var/www/SIGMathLing.kwarc.info --delete - cd _site && rsync -rv -e "ssh -p $SSH_DEPLOY_PORT" --checksum --exclude='Gemfile' --delete-excluded --delete ./ root@static.kwarc.info:/root/data --delete
only: only:
- master - master
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment