Commit graph

725 commits

Author SHA1 Message Date
Oliver Davies e6eb5d1025 fix: duplicate date in events
Fix event list formatting in front matter that was causing a duplicate
`date` key.
2022-01-01 23:21:04 +00:00
Oliver Davies a62f1897cd chore: ignore build 2022-01-01 23:02:59 +00:00
Oliver Davies 8e0a629026 chore: reformat text 2021-12-30 12:21:52 +00:00
Oliver Davies f002586a1e Move Dockerfile 2021-12-29 20:42:35 +00:00
Oliver Davies fbf35f1d0a Reformat text 2021-12-29 15:36:30 +00:00
Oliver Davies 5d06e85e62 Add GroningenPHP event 2021-12-29 15:25:35 +00:00
Oliver Davies cd782e627d Move the "online" text 2021-12-29 15:25:24 +00:00
Oliver Davies f506db6ca6 Organise events by date 2021-12-29 15:25:05 +00:00
Oliver Davies 9b29494550 Add Transport for Wales post 2021-12-29 15:24:41 +00:00
Oliver Davies 6fabb7b703 fix(run): prevent creating code directory
Prevent a `code` directory from being created within
`/var/www/oliverdavies.uk` when copying the built assets from the web
container.

Fixes: #11
2021-11-11 19:13:25 +00:00
Oliver Davies b5047c52cd fix(run): remove reference to .env at start 2021-11-11 19:04:48 +00:00
Oliver Davies 9e1e6e684c fix: update deployment steps 2021-11-11 11:24:00 +00:00
Oliver Davies ab55a7704b chore: update function name 2021-11-11 11:23:03 +00:00
Oliver Davies f0d0e2796c chore: add latest as a default hash 2021-11-11 11:16:15 +00:00
Oliver Davies 5049981f90 chore: capture arguments to the deploy command 2021-11-11 08:28:44 +00:00
Oliver Davies 630ee3a8c6 refactor: remove duplication in build arguments 2021-11-11 08:17:10 +00:00
Oliver Davies f9f3d23b7f fix: add the missing make dependency 2021-11-11 08:09:51 +00:00
Oliver Davies b860ea7a2e refactor: add spacing within the Dockerfile 2021-11-11 07:19:25 +00:00
Oliver Davies 748dc6bdb5 refactor: combine COPY commands
Combine two `COPY` commands to add the package.json and
package-lock.json files at the same time - the same way that is being
used for composer.json and composer.lock files earlier in the file.
2021-11-11 07:12:59 +00:00
Oliver Davies 84536d0508 refactor: rename docker commands to ci 2021-11-09 17:38:27 +00:00
Oliver Davies 45ab483e66 refactor: use the Collection::make() method
Use the `Collection::make()` method and move the subsequent methods onto
their own lines for readability.
2021-11-09 17:35:30 +00:00
Oliver Davies 2911e027e9 build(run): add commands for running markdownlint 2021-11-05 17:16:52 +00:00
Oliver Davies b742b1d8a1 build(run): add artifact command
Add an `artifact:build` command that will pull the image for a given
commit SHA and copy the generated HTML from it onto the local filesystem
so that it can be served by Nginx in production.
2021-11-05 17:15:37 +00:00
Oliver Davies 2d684f26ab fix: update calendar URL 2021-11-05 14:10:59 +00:00
Oliver Davies de9e771073 ci(deploy): update for AWS 2021-11-02 23:21:20 +00:00
Oliver Davies 2ef976fa1c build(docker): use alpine for assets
[ci-skip]
2021-11-02 23:16:19 +00:00
Oliver Davies 40744c9852 ci: update deployment steps 2021-10-31 16:49:43 +00:00
Oliver Davies fb1ba4236a ci: create .env file 2021-10-31 16:41:27 +00:00
Oliver Davies f710b01814 chore: simplify sitemap output 2021-10-31 16:35:37 +00:00
Oliver Davies ceb9981374 build(docker): remove docker-compose-production.yaml 2021-10-26 23:42:43 +01:00
Oliver Davies 7fbecb1728 build(docker): make Compose file more configurable
Allow for configuring volume mounts, ports, the site URL, and volume
mounts within the Docker Compose file using environment variables from
within and .env file.

This means that the same Docker Compose file could be used to generate
and serve the site locally using an anonymous volume, as well as
generate a one-time build into a local directory to be served by Apache
or Nginx on production.
2021-10-26 22:48:26 +01:00
Oliver Davies e736230805 chore(config): update calendar footer link 2021-10-26 09:29:03 +01:00
Oliver Davies 423864d743 chore(config): remove calendar URLs 2021-10-26 09:28:49 +01:00
Oliver Davies 3814eeedb7 Replace calendars page with SavvyCal index link 2021-10-26 09:16:45 +01:00
Oliver Davies bd2910781c build(docker): make the web port configurable 2021-10-24 10:21:03 +01:00
Oliver Davies 61ec3db7b3 build(docker): remove the phpunit service 2021-10-24 10:18:52 +01:00
Oliver Davies fe6b6d13d8 build(run): add composer and test commands 2021-10-24 09:29:45 +01:00
Oliver Davies d3175dc980 Revert "build(docker): build and push with Compose"
This reverts commit bf9f9d5fa1.
2021-10-24 02:55:46 +01:00
Oliver Davies bf9f9d5fa1 build(docker): build and push with Compose 2021-10-24 02:53:56 +01:00
Oliver Davies a2aa22d21e build(docker): add build information 2021-10-24 02:50:30 +01:00
Oliver Davies 72a70156ad Revert "build: try building and pushing with Compose"
This reverts commit fc87e9abd0.
2021-10-24 02:46:50 +01:00
Oliver Davies fc87e9abd0 build: try building and pushing with Compose 2021-10-24 02:42:57 +01:00
Oliver Davies 6a3f3eaa99 build: add run script 2021-10-24 02:07:18 +01:00
Oliver Davies c44b49968f feat(projects): add Transport for Wales 2021-10-14 12:14:45 +01:00
Oliver Davies da8c18d167 feat(projects): add a basic listing page 2021-10-14 12:14:20 +01:00
Oliver Davies 9684a8061e feat(projects): add project content type 2021-10-14 12:13:45 +01:00
Oliver Davies 5f2b5dc45f Update front page content, add contact page 2021-10-13 00:20:34 +01:00
Oliver Davies f8e85184aa Add continuous integration post
Add a post about the different definitions for the term "Continuous
Integration" and what those mean.
2021-10-07 23:40:18 +01:00
Oliver Davies 2b409f5b44 Update intro text on blog page 2021-10-07 22:27:33 +01:00
Oliver Davies 0159348eab feat: re-add comments or questions below posts 2021-10-07 22:03:19 +01:00