From d2da99fb6bf3fdc92a1ba4c2272949807d55a5f8 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 28 Jun 2024 22:39:57 -0400 Subject: [PATCH] only try to access mathoid conf under non ci --- dmoj/scripts/initialize | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dmoj/scripts/initialize b/dmoj/scripts/initialize index ccabadb..d01fd5b 100755 --- a/dmoj/scripts/initialize +++ b/dmoj/scripts/initialize @@ -7,6 +7,8 @@ mv ../config.js repo/websocket/ mv ../local_settings.py repo/dmoj/ mv ../uwsgi.ini repo/ +if [[ -z "$CI" ]]; then # don't try to access /var/share in CI + mv ./mathoid/config.yaml /var/share/configs/mathoid/config.yaml +fi -mv ./mathoid/config.yaml /var/share/configs/mathoid/config.yaml