Skip to content
Snippets Groups Projects
Commit 89c12cd5 authored by Michael Blaschek's avatar Michael Blaschek :bicyclist:
Browse files

Update .gitlab-ci.yml file

parent 2471b50a
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,8 @@ stages: ...@@ -8,6 +8,8 @@ stages:
- deploy - deploy
build: build:
rules:
- if: $CI_COMMIT_MESSAGE =~ /.*build.*/
stage: build stage: build
before_script: before_script:
- pip install -r requirements.txt - pip install -r requirements.txt
...@@ -25,4 +27,4 @@ deploy: ...@@ -25,4 +27,4 @@ deploy:
before_script: before_script:
- apt-get update -qq && apt-get install -y -qq sshpass openssh-client - apt-get update -qq && apt-get install -y -qq sshpass openssh-client
script: script:
- sshpass -p "$WOLKE_PASSWORD" scp -oStrictHostKeyChecking=no -r /tmp/cr-site/ $WOLKE_USER@wolke.img.univie.ac.at:/var/www/html/documentation/general/ - sshpass -p "$WOLKE_PASSWORD" scp -oStrictHostKeyChecking=no -r ./site/ $WOLKE_USER@wolke.img.univie.ac.at:/var/www/html/documentation/general/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment