summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-08-17 14:24:21 -0300
committerEuAndreh <eu@euandre.org>2024-08-17 14:24:21 -0300
commitff2fc08875db996c251a52f43c07fe93b7718fd6 (patch)
treea69ae723ae63eef62b5a5f172397ea4ea93affc4
parentsrc/repo: Add new tool (diff)
downloadsyskeep-ff2fc08875db996c251a52f43c07fe93b7718fd6.tar.gz
syskeep-ff2fc08875db996c251a52f43c07fe93b7718fd6.tar.xz
src/reconfigure: Enqueue CD jobs after reconfiguring
-rwxr-xr-xsrc/reconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/reconfigure b/src/reconfigure
index e9d8529..09685ee 100755
--- a/src/reconfigure
+++ b/src/reconfigure
@@ -37,8 +37,10 @@ fi
if [ "$DRY_RUN" = true ]; then
ACTION=build
+ DEPLOY_OPT=-n
else
ACTION=reconfigure
+ DEPLOY_OPT=
fi
cd /opt/server
@@ -46,3 +48,5 @@ git fetch
git checkout "$SHA"
guix system -v3 "$ACTION" src/guix/system.scm
+
+cicd add $DEPLOY_OPT /srv/git/*.git