5
0
mirror of https://git.coop/cotech/website.git synced 2024-12-23 11:05:24 +00:00

A few deployments tweaks

This commit is contained in:
Nick Sellen 2018-11-30 18:01:32 +00:00
parent d84a8bad79
commit 9d882bc4a3

View File

@ -38,13 +38,13 @@ deploy:dev:
stage: staging
script:
- bundle exec jekyll build -d public
- rsync -aqz public/ cotech@webarch2.co.uk:sites/dev/
- rsync -aqz --delete-after public/ cotech@webarch2.co.uk:sites/dev/
artifacts:
paths:
- public
environment:
name: dev
url: https://dev.static.coops.tech
url: https://dev.coops.tech
only:
- master
@ -52,13 +52,13 @@ deploy:production:
stage: production
script:
- bundle exec jekyll build -d public
- rsync -aqz public/ cotech@webarch2.co.uk:sites/default/
- rsync -aqz --delete-after public/ cotech@webarch2.co.uk:sites/default/
artifacts:
paths:
- public
environment:
name: production
url: https://static.coops.tech
url: https://www.coops.tech
only:
- master
when: manual