Update .gitlab-ci.yml file

This commit is contained in:
Alexander Hosking 2022-04-20 13:19:25 +00:00
parent 965af27151
commit 648cec167f

View File

@ -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