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:
parent
d84a8bad79
commit
9d882bc4a3
@ -38,13 +38,13 @@ deploy:dev:
|
|||||||
stage: staging
|
stage: staging
|
||||||
script:
|
script:
|
||||||
- bundle exec jekyll build -d public
|
- 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:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
environment:
|
environment:
|
||||||
name: dev
|
name: dev
|
||||||
url: https://dev.static.coops.tech
|
url: https://dev.coops.tech
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
@ -52,13 +52,13 @@ deploy:production:
|
|||||||
stage: production
|
stage: production
|
||||||
script:
|
script:
|
||||||
- bundle exec jekyll build -d public
|
- 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:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
environment:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
url: https://static.coops.tech
|
url: https://www.coops.tech
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
when: manual
|
when: manual
|
Loading…
Reference in New Issue
Block a user