5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-12 19:00:50 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Chris Croome
37c2d2cfe8 rsync dev branch 2018-11-29 14:47:18 +00:00
Chris Croome
fce5d8bbc1 rsync to dev.static.coops.tech 2018-11-29 12:49:27 +00:00
Chris Croome
92b1459724 Add back necessary eval $(ssh-agent -s) 2018-11-18 16:07:00 +00:00
Chris Croome
e35afc0dcd CI tweaks to make it less verbose 2018-11-18 16:05:08 +00:00
Chris Croome
0893e88391 Remove hello world test from .gitlab-ci.yml 2018-11-18 15:34:17 +00:00
Chris Croome
7ee0f5bf24 Added hello world test 2018-11-18 15:17:01 +00:00
Chris Lowis
e733ed08e8 Install rsync on CI 2018-11-13 21:55:17 +00:00
Chris Lowis
97667077e1 Attempt to deploy site
@chris has setup a server[1] and added the public half of a key pair
generated using `ssh-keygen -o -t rsa -b 4096` as per the instructions
on docs.gitlab.com[2].

The `before_script` was taken from the same instructions. I set the
two variables SSH_PRIVATE_KEY and SSH_KNOWN_HOSTS in the CI/CD
settings[3].

To see if this works I'm calling `rsync` in the `script` section of
the deploy stage, using the dry-run option, `-n`.

[1] https://git.coop/cotech/website/issues/4#note_9890
[2] https://docs.gitlab.com/ee/ci/ssh_keys/#ssh-keys-when-using-the-docker-executor
[3] https://git.coop/cotech/website/settings/ci_cd
2018-11-13 20:19:19 +00:00
Chris Lowis
48d40e6ad1 Fix ruby version to 2.5.3
This is the latest stable version of ruby.
2018-11-10 22:51:01 +00:00
Chris Lowis
d7c5ca4cad Add a .gitlab-ci.yml
Following the instructions[1] for building a jekyll site in gitlab,
I've added this file. Let's see if it works!

[1] https://gitlab.com/pages/jekyll
2018-11-10 22:26:23 +00:00