Commit graph

18 commits

Author SHA1 Message Date
Oliver Davies a06b229755 build(docker): build with Docker Compose 2022-01-26 08:50:06 +00:00
Oliver Davies b0990f7edb build(docker): move Markdownlint
Move Markdownlint into the main Dockerfile and a service to the Docker
Compose override file.
2022-01-12 22:14:33 +00:00
Oliver Davies 6e120bee3a refactor: use Tailwind CLI and esbuild for assets
Fixes: #10
Fixes: #14
2022-01-02 17:16:00 +00:00
Oliver Davies f002586a1e Move Dockerfile 2021-12-29 20:42:35 +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 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 84536d0508 refactor: rename docker commands to ci 2021-11-09 17:38:27 +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 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 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