diff --git a/deploy.sh b/deploy.sh index 344abdc..e36f92e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -5,7 +5,7 @@ cd $DOMAIN_DIR service_file=$DOMAIN.service echo " [Unit] -Description=Deployment of $DOMAIN (from $REPO/$BRANCH) +Description=Deployment of $DOMAIN (on port $PORT, from $REPO/$BRANCH:$COMMIT_HASH) After=network.target [Service] @@ -22,18 +22,16 @@ StandardError=file:$LOGS_DIR/start.log WantedBy=multi-user.target " > $service_file -echo " -SHELL := /bin/bash +echo -e "SHELL := /bin/bash status: - systemctl status deployer-$DOMAIN +\tsystemctl status deployer-$DOMAIN logs: - journalctl -u deployer-$DOMAIN +\tjournalctl -u deployer-$DOMAIN stop: - systemctl stop deployer-$DOMAIN - +\tsystemctl stop deployer-$DOMAIN " > Makefile # create a folder to put the source code diff --git a/deploy_self.py b/deploy_self.py index ea413a4..1cd03b4 100644 --- a/deploy_self.py +++ b/deploy_self.py @@ -5,6 +5,6 @@ handle_request( user="drm", repo="deployer", branch="main", - commit_hash="5d71c964b77ba2b658dfa96169096fef13c64aeb", + commit_hash="14e7d578bbb69ae08ba2533003f6ad284b325809", ) )