diff --git a/hosts/containers/c3d2-web/default.nix b/hosts/containers/c3d2-web/default.nix index 7aae9a69..61cdbb54 100644 --- a/hosts/containers/c3d2-web/default.nix +++ b/hosts/containers/c3d2-web/default.nix @@ -201,8 +201,7 @@ in status "{ \"context\": \"c3d2-web\", \"description\": \"building...\", \"state\": \"pending\", \"target_url\": \"https://c3d2-web.serv.zentralwerk.org/log/build-$REV.txt\"}" make -j$(nproc) export DESTDIR=${webroot}/c3d2 \ - 2>&1 \ - >${webroot}/log/build-$REV.txt + &> ${webroot}/log/build-$REV.txt if [ $? = 0 ]; then status "{ \"context\": \"c3d2-web\", \"description\": \"deployed\", \"state\": \"success\", \"target_url\": \"https://c3d2-web.serv.zentralwerk.org/log/build-$REV.txt\"}" @@ -215,8 +214,7 @@ in status "{ \"context\": \"c3d2-gemini\", \"description\": \"building...\", \"state\": \"pending\", \"target_url\": \"https://c3d2-web.serv.zentralwerk.org/log/build-gemini-$REV.txt\"}" make -f Makefile.gemini -j$(nproc) export DESTDIR=${geminiRoot} \ - 2>&1 \ - >${webroot}/log/build-gemini-$REV.txt + &> ${webroot}/log/build-gemini-$REV.txt if [ $? = 0 ]; then status "{ \"context\": \"c3d2-gemini\", \"description\": \"deployed\", \"state\": \"success\", \"target_url\": \"https://c3d2-web.serv.zentralwerk.org/log/build-gemini-$REV.txt\"}"