From 558229e55c2ee736913ee87b7bb3713955e132c6 Mon Sep 17 00:00:00 2001 From: skylar Date: Thu, 19 Oct 2023 11:16:13 -0500 Subject: [PATCH] add update script --- update.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 update.sh diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..be8c4a5 --- /dev/null +++ b/update.sh @@ -0,0 +1,11 @@ +#!/bin/bash +cd /opt/pleroma +sudo -Hu pleroma git pull +sudo -Hu pleroma MIX_ENV=prod mix deps.get +FRONTEND_LINK=`curl -sS https://git.pleroma.social/pleroma/pleroma-fe/-/jobs/artifacts/develop/download?job=build | grep -io '