Update .gitlab-ci.yml file
This commit is contained in:
parent
965af27151
commit
648cec167f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user