]> git.ipfire.org Git - ipfire.org.git/commitdiff
error-pages: Add a simple command to upload files to the load-balancer
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jan 2024 17:33:44 +0000 (17:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jan 2024 17:33:44 +0000 (17:33 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index 483402be8dad921286ac12388caaa3e036bdc9b5..f382c7506dad4978168f4a52db41940c8c2a80c9 100644 (file)
@@ -1083,6 +1083,10 @@ EXTRA_DIST += \
 error-pages:
        $(AM_V_GEN)cd src/error-pages && $(JEKYLL) build --quiet --incremental
 
+.PHONY: upload-error-pages
+upload-error-pages: error-pages
+       scp -P 222 src/error-pages/_site/*.http root@fw01.haj.ipfire.org:/etc/haproxy/errors/
+
 # ------------------------------------------------------------------------------
 
 dist_cron_DATA = \