Порівняти коміти

...

6 Коміти

Автор SHA1 Повідомлення Дата
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 змінених файлів з 20 додано та 17 видалено

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

@ -7,7 +7,7 @@ email: hello@outlandish.com
twitter: outlandish twitter: outlandish
github: outlandishideas github: outlandishideas
telephone: '+44 (0) 207 561 9968' 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 latitude: 51.56372160000001
longitude: -0.1077572000000373 longitude: -0.1077572000000373
clients: clients: