Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dbe6743834 | ||
|
|
c1f9b4162b | ||
|
|
2c8bbc3d5a | ||
|
|
2baca3c81d | ||
|
|
4322865986 | ||
|
|
8cc7fc3273 |
+6
-3
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
image: ruby:2.6.6
|
image: ruby:2.6.6
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
@@ -20,7 +21,8 @@ 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
|
||||||
|
|
||||||
@@ -38,7 +40,7 @@ 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
|
||||||
@@ -52,7 +54,7 @@ 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
|
||||||
@@ -65,3 +67,4 @@ deploy:production:
|
|||||||
|
|
||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user