Compare commits

...

6 Commits

Author SHA1 Message Date
dbe6743834 Update _coops/outlandish.md 2022-11-10 11:45:29 +00:00
c1f9b4162b remove test deploy servermigration branch 2022-11-06 19:58:24 +00:00
2c8bbc3d5a fix ssh-keyscan 2022-11-06 19:51:01 +00:00
2baca3c81d ssh-keyscan ip addreess 2022-11-06 19:48:53 +00:00
4322865986 Test servermigration branch 2022-11-06 19:32:22 +00:00
8cc7fc3273 Test server migration 2022-11-06 19:28:17 +00:00
2 changed files with 20 additions and 17 deletions

View File

@ -1,9 +1,10 @@
---
image: ruby:2.6.6
stages:
- test
- staging
- production
- test
- staging
- production
variables:
JEKYLL_ENV: production
@ -20,48 +21,50 @@ before_script:
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- ssh-keyscan web.cotech.uk > ~/.ssh/known_hosts
- ssh-keyscan 81.95.52.59 >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- bundle install --path vendor
test:
stage: test
script:
- bundle exec jekyll build -d test
- bundle exec jekyll build -d test
artifacts:
paths:
- test
- test
except:
- master
- master
deploy:dev:
stage: staging
script:
- bundle exec jekyll build -d public
- rsync -aqz --delete-after public/ cotech@webarch2.co.uk:sites/dev/
- bundle exec jekyll build -d public
- rsync -aqz --delete-after public/ cotech@web.cotech.uk:sites/dev/
artifacts:
paths:
- public
- public
environment:
name: dev
url: https://dev.coops.tech
only:
- master
- master
deploy:production:
stage: production
script:
- bundle exec jekyll build -d public
- rsync -aqz --delete-after public/ cotech@webarch2.co.uk:sites/default/
- bundle exec jekyll build -d public
- rsync -aqz --delete-after public/ cotech@web.cotech.uk:sites/default/
artifacts:
paths:
- public
- public
environment:
name: production
url: https://www.coops.tech
only:
- master
- master
when: manual
after_script:
- rm -rf /root/.ssh/
- rm -rf /root/.ssh/
...

View File

@ -7,7 +7,7 @@ email: hello@outlandish.com
twitter: outlandish
github: outlandishideas
telephone: '+44 (0) 207 561 9968'
address: 3rd Floor,149 Fonthill Road,Finsbury Park,London,United Kingdom,N4 3HF
address: 4th Floor, 113-115 Fonthill Road, Finsbury Park, London, United Kingdom, N4 3HH
latitude: 51.56372160000001
longitude: -0.1077572000000373
clients: