summaryrefslogtreecommitdiff
path: root/hooks/pre-commit
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2024-02-28 19:17:25 +0000
committerMatthew Fennell <matthew@fennell.dev>2024-02-28 21:40:21 +0000
commitd7e965843eb32fc2e459a15fe70251964ff40394 (patch)
treee46d2ff80b7d383b65cd4bd819c260ae9e2ab9a8 /hooks/pre-commit
Initial commit
This commit adds the initial structure / scaffolding on which the rest of the project can be built. The idea is to have an entry point written in python, which parses a toml file which contains information about each domain, and general configuration of the lego tool which will actually renew the certificates. Each domain has an additional post-renew script, the path to which is given in the config file, which is used to install the new certificates onto the remote hosts if necessary.
Diffstat (limited to 'hooks/pre-commit')
-rwxr-xr-xhooks/pre-commit6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit
new file mode 100755
index 0000000..102d529
--- /dev/null
+++ b/hooks/pre-commit
@@ -0,0 +1,6 @@
+#!/bin/sh
+# SPDX-FileCopyrightText: 2023 Matthew Fennell <matthew@fennell.dev>
+#
+# SPDX-License-Identifier: AGPL-3.0-only
+
+make