Commit graph

738 commits

Author SHA1 Message Date
Oliver Davies 73086d4ab3 ci: update deployment steps 2021-12-08 21:36:53 +00:00
Oliver Davies c60e2152e2 build(run): add ci:deploy task 2021-12-08 20:34:39 +00:00
Oliver Davies ca09801323 Revert "chore: move stage_file_proxy into dev requires"
This reverts commit dcfcc11cbc.
2021-12-08 19:11:56 +00:00
Oliver Davies a7bedc1e5e ci: change user in Drupal permissions tasks 2021-12-08 19:06:21 +00:00
Oliver Davies 376954c753 chore: format event fields on a talk page
Refs: #452
2021-12-08 19:06:21 +00:00
Oliver Davies f983273c82 chore: enable Layout Builder for talk pages
Refs: #452
2021-12-08 19:06:21 +00:00
Oliver Davies dcfcc11cbc chore: move stage_file_proxy into dev requires
This isn't needed on production.
2021-12-08 19:06:21 +00:00
Oliver Davies 2a85a9ba65 fix: nginx error when loading the site
From https://stackoverflow.com/a/68314973:

> Increasing the fastcgi_buffer_size in nginx config helped, but it
seems more like a suppression the problem, not a treatment.

> A better solution is to disable php-fpm to send logs by FastCGI. Found
it can be made by setting fastcgi.logging=0 in php.ini (by default it is
1). php docs.

> After changing it to 0, the problem goes away and nginx logs looks much
cleaner docker logs nginx:

Fixes: #463
2021-12-08 10:58:39 +00:00
Oliver Davies d026bdb9ae build(run): add ci:build
Add `ci:build` to the `run` file to build and push the PHP image to the
GitHub container registry.
2021-12-07 02:20:33 +00:00
Oliver Davies 6042f3cdec build(docker): add restart policies 2021-12-07 02:20:10 +00:00
Oliver Davies c0d3f4f747 build(docker): add image name 2021-12-07 02:19:49 +00:00
Oliver Davies c135dd5d2a Revert "build(docker): update PHP to 8.0"
This reverts commit ce57c55bbf.
2021-12-04 21:26:30 +00:00
Oliver Davies f1cf2090a4 refactor: use a task: prefix for public functions 2021-12-04 21:20:36 +00:00
Oliver Davies 124f78a74c build(docker): fix Hadolint errors 2021-12-03 08:48:09 +00:00
Oliver Davies 352d4dd389 build(run): add ci:test 2021-12-03 08:45:36 +00:00
Oliver Davies 3a1e7e9f64 build(run): add the run script 2021-12-03 08:44:26 +00:00
Oliver Davies 2372b2e33a fix: add flex-shrink-0 2021-11-29 01:06:13 +00:00
Oliver Davies 2eda6d0f0d fix: become the root user 2021-11-28 22:02:17 +00:00
Oliver Davies 12e7a8bf53 ci: re-add deploy job
This reverts commit 3d1004bced.
2021-11-28 21:33:02 +00:00
Oliver Davies 4c1bda0cfe chore: update for AWS 2021-11-28 21:29:16 +00:00
Oliver Davies 8c568281d2 fix: update to path to Tailwind safelist classes 2021-11-28 21:10:48 +00:00
Oliver Davies aea9a68799 fix: add relative config path to purge paths 2021-11-28 21:05:31 +00:00
Oliver Davies bfb83010bc chore: upgrade repo URL 2021-11-28 20:58:52 +00:00
Oliver Davies d957a950cc fix: move the logo into the page template
So that the logo can be styled with CSS classes, move it into the
`page.html.twig` template as the site logo uses an `img` HTML element
rather than an inline SVG.

Fixes: #441
2021-11-28 12:47:03 +00:00
Oliver Davies ce57c55bbf build(docker): update PHP to 8.0 2021-11-27 17:36:30 +00:00
Oliver Davies 257cbfceed docs: reference the run script in instructions 2021-11-27 10:18:58 +00:00
Oliver Davies af9d318407 chore: remove .idea directory 2021-11-27 10:11:29 +00:00
Oliver Davies f08ae5ed12 fix: enable the Sitemap module 2021-11-27 09:11:41 +00:00
Oliver Davies 8289e7a281 fix: update node container volumes 2021-11-27 09:08:18 +00:00
Oliver Davies a562132b91 fix: update MySQL container volumes 2021-11-27 09:08:09 +00:00
Oliver Davies 667393d622 fix: remove Contact module configuration 2021-11-27 08:32:38 +00:00
Oliver Davies ff47dbf52e fix: update Tailwind, remove JIT package 2021-11-27 08:28:54 +00:00
Oliver Davies c2151bb6c5 chore: export config 2021-11-27 00:36:47 +00:00
Oliver Davies 121ba4b0da fix: fix video height
Add a template for the full talk node, and add the `video-full` class
around each field item.

This could later be replaced by Tailwind's aspect ratio plugin -
https://tailwindcss.com/docs/plugins#aspect-ratio.

Fixes: #453
2021-11-27 00:17:28 +00:00
Oliver Davies b12265f198 chore: re-style blog and talk detail pages
Refs: #441
2021-11-27 00:07:59 +00:00
Oliver Davies 86f878c8d1 chore: fix spacing on talk and blog list pages
Refs: #441
2021-11-26 23:57:17 +00:00
Oliver Davies ce4fc671f3 chore: re-add spacing between talks and blog posts
Refs: #441
2021-11-26 23:31:10 +00:00
Oliver Davies 8c9cdfe22d chore: re-add Roboto Condensed font
Refs: #441
2021-11-26 22:57:10 +00:00
Oliver Davies 928ff46c2b fix: move footer
Refs: #441
2021-11-26 22:25:13 +00:00
Oliver Davies bd71ea2101 chore: re-add header and main menu styling
Refs: #441
2021-11-26 22:16:20 +00:00
Oliver Davies 8061912afb refactor: re-add page title styling
Refs: #441
2021-11-26 20:31:05 +00:00
Oliver Davies 3d1004bced ci: remove deploy job for now
Remove the `deploy` job as it's trying to deploy to a server that no
longer exists, and is causing every CI action to fail.
2021-11-26 19:57:48 +00:00
Oliver Davies d8e2025e98 chore: re-add markdown styles to body fields
Refs: #441
2021-11-26 19:42:04 +00:00
Oliver Davies bd790272da chore: re-size logo
Refs: #441
2021-11-26 19:06:14 +00:00
Oliver Davies 1ae67353f2 chore: add local link styling
Refs: #441
2021-11-26 18:37:29 +00:00
Oliver Davies f36a24b2b0 chore: update Tailwind configuration
Refs: #441
2021-11-26 18:37:29 +00:00
Oliver Davies 268631dc1c chore: re-add footer styles
Refs: #441
2021-11-26 18:15:19 +00:00
Oliver Davies 48c1e3f668 chore: re-add page.html.twig
Refs: #441
2021-11-26 18:15:12 +00:00
Oliver Davies d07f3b02c7 chore: remove old styles
Refs: #441
2021-11-26 18:15:04 +00:00
Oliver Davies 2647b27f32 chore: remove old Twig templates
Refs: #441
2021-11-26 18:14:39 +00:00