mirror of
https://git.coop/cotech/website.git
synced 2024-12-23 11:05:24 +00:00
Reorder gitlab ci sections
This commit is contained in:
parent
fd79fbb35b
commit
d6d1723880
@ -29,6 +29,20 @@ test:
|
|||||||
except:
|
except:
|
||||||
- master
|
- 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:
|
deploy:production:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
@ -42,19 +56,4 @@ deploy:production:
|
|||||||
url: https://static.coops.tech
|
url: https://static.coops.tech
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
when: manual
|
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
|
|
Loading…
Reference in New Issue
Block a user