Oliver Davies
922ac14e6b
Ansible: Optimise the autoloader
2020-06-16 23:45:46 +01:00
Oliver Davies
5ec999e3f2
Re-order deploy steps
...
Run database changes before importing configuration.
References #127
2020-06-12 02:15:52 +01:00
Oliver Davies
b6f3d6ef91
Update default branch name
...
Change the default branch for deployments from `master` to `production`.
2020-06-10 22:13:54 +01:00
Oliver Davies
208d535d95
Add pull-from-prod to Makefile
...
Add `pull-from-prod` to the Makefile, which downloads a database from
production, imports it and runs the post-import steps.
Fixes #79
2020-06-01 12:50:41 +01:00
Oliver Davies
eecefc49cd
Remove reference to old deploy key
2020-05-27 08:38:48 +01:00
Oliver Davies
14af222f35
Remove deploy keys
2020-05-27 00:50:44 +01:00
Oliver Davies
60f98037df
Set reverse proxy settings for Cloudflare
2020-05-26 22:10:52 +01:00
Oliver Davies
9e35d8b2a7
Add download database playbook
...
Fixes #70
2020-05-23 14:43:13 +01:00
Oliver Davies
50ae96c4a5
Split nginx vhosts, re-add default_server
2020-05-22 01:33:26 +01:00
Oliver Davies
b019d620bd
Disallow traffic on port 22
2020-05-22 01:19:13 +01:00
Oliver Davies
5acab19bab
Fix nginx error on reload
2020-05-22 01:18:17 +01:00
Oliver Davies
a1267ec46c
Add certificate for non-www domain too
2020-05-21 01:53:20 +01:00
Oliver Davies
1fb6bdfb79
Update SSH port
2020-05-20 21:10:16 +01:00
Oliver Davies
cee084092b
Re-order deployment steps
...
Re-order the deployment steps, ensuring that the Drupal cache is rebuilt
before trying to run the custom Drush command to ensure that it is
found.
References #55 .
2020-05-20 12:22:45 +01:00
Oliver Davies
ab5849ae5b
Run the command during deployment
...
Run the new command automatically during the deployment, prior to
generating the production CSS.
References #55
2020-05-20 11:59:13 +01:00
Oliver Davies
9f721ef354
Add cron job for Drupal cron
2020-05-19 01:43:32 +01:00
Oliver Davies
cb99713cad
Switch to the real domain
...
Change from d8.oliverdavies.uk to www.oliverdavies.uk, and add the
non-www redirects too.
References #17
2020-05-18 23:41:05 +01:00
Oliver Davies
9342b36f6d
Move images redirect
2020-05-18 23:24:19 +01:00
Oliver Davies
bcabac9b21
Fix image path
2020-05-18 23:00:16 +01:00
Oliver Davies
d5d63cc43c
Redirect static images to files directory
2020-05-18 22:25:45 +01:00
Oliver Davies
82049a8433
Update trusted hosts
2020-05-18 22:02:37 +01:00
Oliver Davies
d0f8653028
Add a live split, export Analytics configuration
...
Fixes #38 and #5
2020-05-15 00:00:20 +01:00
Oliver Davies
a2c1c99058
Build theme CSS during deployment
...
Fixes #37
2020-05-14 22:21:58 +01:00
Oliver Davies
940db194ee
Add nodejs and npm to the server
...
References #37
2020-05-14 22:21:58 +01:00
Oliver Davies
3150c948f0
Update project path on the server
2020-05-13 02:53:17 +01:00
Oliver Davies
ee0deaeac0
Remove directs from Nginx config
...
These are now handled by Drupal's redirect module.
2020-05-10 01:44:48 +01:00
Oliver Davies
314ba711af
Stop overriding the config path
2020-05-10 01:44:18 +01:00
Oliver Davies
3e0bf85ebb
Create main.yml
2020-04-10 09:13:30 +01:00
Oliver Davies
58d014dbf4
Fix redirects
2020-04-08 14:08:09 +01:00
Oliver Davies
a231813982
Remove CV page redirect
2020-04-08 11:07:09 +01:00
Oliver Davies
67e38bf142
Redirect all articles paths to blog
2020-02-23 21:42:27 +00:00
Oliver Davies
a56cfb61be
Copy across existing redirects
2020-02-23 20:52:23 +00:00
Oliver Davies
6d79ff1ffc
Add HTTPS with certbot
...
Fixes #1
2020-02-19 01:16:09 +00:00
Oliver Davies
75652fe560
Split args onto separate lines
2020-02-19 00:58:41 +00:00
Oliver Davies
e9baad51d8
Use Ansible Galaxy for settings role
...
Now that the Drupal settings role is on Ansible Galaxy, it can be added as a requirement and installed from there rather than having a local copy in the codebase.
Fixes #15
2020-02-19 00:55:32 +00:00
Oliver Davies
83c0601940
Configure config_exclude
2020-02-08 11:52:44 +00:00
Oliver Davies
526f567da1
Run more Drush commands during deployment
2020-02-08 00:32:11 +00:00
Oliver Davies
f2e458ca13
Add Ansible playbook for deployments
2020-02-07 22:32:25 +00:00
Oliver Davies
4299ca3ae7
Add Ansible playbook for provisioning
2020-02-07 07:42:30 +00:00
Oliver Davies
1260247e48
Add playbook for creating a DigitalOcean droplet
2020-02-06 09:08:26 +00:00