Compare commits

...

17 Commits

Author SHA1 Message Date
georgeowell 9c825027c5 Inital refresh of colour scheme 2018-11-09 12:54:02 +00:00
georgeowell 33add8fd8f Added link to CoTech website to CoTech logo in footer 2018-11-05 23:48:21 +00:00
stu.sherwin 1f3ada29d7 Rsync recursive 2018-08-21 18:51:21 +01:00
stu.sherwin 442d758cb4 Don't use rsync archive option 2018-08-21 18:48:07 +01:00
stu.sherwin b0a959e2e4 Don't set times 2018-08-21 18:44:40 +01:00
stu.sherwin bdea07164d Change menu text colour 2018-08-21 18:43:39 +01:00
stu.sherwin cf4f1fbd46 Rename dist to public 2018-08-21 18:40:18 +01:00
stu.sherwin 81a96fbf34 Run ssh-agent 2018-08-21 18:33:22 +01:00
stu.sherwin eec8b982eb Disable strict host key checking 2018-08-21 18:26:50 +01:00
stu.sherwin 9ed30e8717 Add autonomic.zone to known hosts 2018-08-21 18:22:43 +01:00
stu.sherwin f675143d59 apt-get update 2018-08-21 18:15:26 +01:00
stu.sherwin bbea557322 Install rsync 2018-08-21 18:11:20 +01:00
czmj c23bf3f8d9 Merge branch 'master' of gitlab.com:autonomic-cooperative/autonomic-cooperative.gitlab.io 2018-08-21 18:10:40 +01:00
czmj d51f265fd5 design shite 2018-08-21 18:10:29 +01:00
stu.sherwin 4e1d28ece6 Deploy to server on master commit 2018-08-21 18:07:09 +01:00
czmj 96384a91ea add cotect logo (closes #42) 2018-08-21 17:32:40 +01:00
czmj 43559560e8 add postal address (closes #41) 2018-08-21 17:12:59 +01:00
10 changed files with 49 additions and 51 deletions
+6 -13
View File
@@ -1,28 +1,21 @@
image: ruby:2.4.2
stages:
- build
- deploy
build:
stage: build
before_script:
- gem install jekyll
script:
- jekyll build -d public
artifacts:
paths:
- public
deploy:
stage: deploy
before_script:
- apt-get update -y
- apt-get -y install rsync
- gem install jekyll
- eval $(ssh-agent -s)
script:
- jekyll build -d public
- ./bin/deploy
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- rsync -rvz --delete -e 'ssh -o StrictHostKeyChecking=no' ./public/ "$SERVER_USER"@autonomic.zone:/var/www/autonomic.zone/html/
artifacts:
paths:
- public
only:
- tags
- master
-26
View File
@@ -1,26 +0,0 @@
#!/bin/bash
GITUSERNAME="autonomicgitlabci"
GITUSEREMAIL="autonomicgitlabci@nowhere.com"
DEPLOYSCRIPT="https://github.com/X1011/git-directory-deploy/raw/master/deploy.sh"
export GIT_DEPLOY_DIR="public"
export GIT_DEPLOY_BRANCH="production"
export GIT_DEPLOY_REPO="git@gitlab.com:autonomic-cooperative/autonomic-cooperative.gitlab.io.git"
apt-get update -y
apt-get install -yqq wget openssh-client
wget $DEPLOYSCRIPT && chmod +x deploy.sh
git config --global user.email $GITUSEREMAIL
git config --global user.name $GITUSERNAME
mkdir -p ~/.ssh
eval "$(ssh-agent -s)"
ssh-add <(echo "$SSH_PRIVATE_KEY")
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
./deploy.sh -m "Git tag: $(git describe --exact-match HEAD)"
rm -Rfv .ssh
+7
View File
@@ -14,6 +14,13 @@
<ul class="copyright">
<li class="icon fa-creative-commons">&nbsp;{{ site.title }}</li>
</ul>
<address>
Autonomic Co-operative</br>
1539 Pershore Road </br>
Stirchley</br>
B30 2JH
</address>
</footer>
</div>
+5
View File
@@ -0,0 +1,5 @@
<section class="wrapper style5 special compressed">
<a href="https://www.coops.tech/" target="_blank">
<img src="/assets/images/Member-of-CoTech-logo-200.png" alt="Member of Co-Tech"/>
</a>
</section>
+1
View File
@@ -9,6 +9,7 @@
{% include services.html %}
{% include contact.html %}
{% include footer.html %}
{% include membership-footer.html %}
{% include foot-scripts.html %}
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

+1 -1
View File
@@ -54,7 +54,7 @@
> a {
border: 0;
color: inherit;
color: black;
display: block;
font-size: 0.8em;
letter-spacing: _size(letter-spacing-alt);
+11 -3
View File
@@ -11,7 +11,7 @@
color: _palette($p, fg-bold);
}
.h2, .h3, .h4, .h5, .h6,
h2, h3, h4, h5, h6 {
color: _palette($p, fg-bold);
@@ -210,6 +210,14 @@
padding: 0;
}
&.compressed {
padding: 0.5em 0 0;
img {
max-width: 150px;
}
}
&.style1 {
@include wrapper(accent1);
}
@@ -229,7 +237,7 @@
&.style5 {
@include wrapper(accent2);
}
&.style6 {
@include wrapper(accent4);
}
@@ -241,4 +249,4 @@
@include breakpoint(small) {
@include padding(3em, 2em);
}
}
}
+16 -5
View File
@@ -50,7 +50,7 @@
border2: rgba(0,0,0,0.25),
border2-bg: rgba(255,255,255,0.2)
),
accent2: (
bg: #ffffff,
fg-bold: #2E3842,
@@ -72,9 +72,9 @@
border2: rgba(0,0,0,0.25),
border2-bg: rgba(255,255,255,0.2)
),
accent4: (
bg: #25558C,
bg: #313533,
fg-bold: #ffffff,
fg: mix(#25558C, #ffffff, 25%),
fg-light: mix(#25558C, #ffffff, 40%),
@@ -82,5 +82,16 @@
border-bg: rgba(255,255,255,0.075),
border2: rgba(0,0,0,0.25),
border2-bg: rgba(255,255,255,0.2)
)
);
),
accent5: (
bg: #41a19d,
fg-bold: #ffffff,
fg: mix(#F3A712, #ffffff, 25%),
fg-light: mix(#F3A712, #ffffff, 40%),
border: rgba(0,0,0,0.125),
border-bg: rgba(255,255,255,0.075),
border2: rgba(0,0,0,0.25),
border2-bg: rgba(255,255,255,0.2)
),
);
+2 -3
View File
@@ -126,15 +126,15 @@ body.is-mobile {
/* Footer */
#footer {
@include padding(6em, 0);
padding: 4em 0 3.5em;
background-color: darken(_palette(bg), 8);
text-align: center;
color: rgba(255, 255, 255, 0.7);
.icons {
font-size: 1.25em;
a {
color: _palette(fg-light);
&:hover {
color: _palette(fg);
@@ -143,7 +143,6 @@ body.is-mobile {
}
.copyright {
color: _palette(fg-light);
font-size: 0.8em;
letter-spacing: _size(letter-spacing-alt);
list-style: none;