forked from autonomic-cooperative/cotech-website
switch to www.cotech.coop
This commit is contained in:
@ -21,8 +21,8 @@ before_script:
|
||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
- ssh-keyscan web.cotech.uk > ~/.ssh/known_hosts
|
||||
- ssh-keyscan 81.95.52.59 >> ~/.ssh/known_hosts
|
||||
- ssh-keyscan www.cotech.coop > ~/.ssh/known_hosts
|
||||
- ssh-keyscan 81.95.52.13 >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- bundle install --path vendor
|
||||
|
||||
@ -40,13 +40,13 @@ deploy:dev:
|
||||
stage: staging
|
||||
script:
|
||||
- bundle exec jekyll build -d public
|
||||
- rsync -aqz --delete-after public/ cotech@web.cotech.uk:sites/dev/
|
||||
- rsync -aqz --delete-after public/ cotech@www.cotech.coop:sites/dev/
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
environment:
|
||||
name: dev
|
||||
url: https://dev.coops.tech
|
||||
url: https://dev.cotech.coop
|
||||
only:
|
||||
- master
|
||||
|
||||
@ -54,13 +54,13 @@ deploy:production:
|
||||
stage: production
|
||||
script:
|
||||
- bundle exec jekyll build -d public
|
||||
- rsync -aqz --delete-after public/ cotech@web.cotech.uk:sites/default/
|
||||
- rsync -aqz --delete-after public/ cotech@www.cotech.coop:sites/default/
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
environment:
|
||||
name: production
|
||||
url: https://www.coops.tech
|
||||
url: https://www.cotech.coop
|
||||
only:
|
||||
- master
|
||||
when: manual
|
||||
|
Reference in New Issue
Block a user