Reorder gitlab ci sections

This commit is contained in:
Nick Sellen 2018-11-30 16:12:38 +00:00
parent fd79fbb35b
commit d6d1723880
1 changed files with 15 additions and 16 deletions

View File

@ -29,6 +29,20 @@ test:
except:
- master
deploy:dev:
stage: deploy
script:
- bundle exec jekyll build -d public
- rsync -aqz public/ cotech@webarch2.co.uk:sites/dev/
artifacts:
paths:
- public
environment:
name: dev
url: https://dev.static.coops.tech
only:
- master
deploy:production:
stage: deploy
script:
@ -42,19 +56,4 @@ deploy:production:
url: https://static.coops.tech
only:
- master
when: manual
deploy:dev:
stage: deploy
script:
- bundle exec jekyll build -d public
- rsync -aqz public/ cotech@webarch2.co.uk:sites/dev/
artifacts:
paths:
- public
environment:
name: dev
url: https://dev.static.coops.tech
only:
- master
when: manual