diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f9b2ca..9312062 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ stages: - build - test + - deploy buiild job: stage: build @@ -32,3 +33,12 @@ test job: when: always reports: junit: report.xml + +deploy-period: + stage: deploy + environment: production + script: + - ssh ahosking@192.168.1.19 "cd /home/ahosking/period && git pull origin master && exit" + only: + - master +