Update .gitlab-ci.yml file
This commit is contained in:
parent
965af27151
commit
648cec167f
@ -1,6 +1,7 @@
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
- deploy
|
||||||
|
|
||||||
buiild job:
|
buiild job:
|
||||||
stage: build
|
stage: build
|
||||||
@ -32,3 +33,12 @@ test job:
|
|||||||
when: always
|
when: always
|
||||||
reports:
|
reports:
|
||||||
junit: report.xml
|
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