From 3cc765eb674f39b5c545def50f00ecd76712b025 Mon Sep 17 00:00:00 2001 From: Milian Tomzig Date: Sun, 6 Oct 2024 18:08:52 +0200 Subject: [PATCH] update action - improve loging for container restart --- .github/workflows/jekyll-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/jekyll-deploy.yml b/.github/workflows/jekyll-deploy.yml index e29dd38..5785aa0 100644 --- a/.github/workflows/jekyll-deploy.yml +++ b/.github/workflows/jekyll-deploy.yml @@ -39,6 +39,8 @@ jobs: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} run: | ssh -i ${HOME}/.ssh/deploy.id_rsa -o StrictHostKeyChecking=no root@saturn.munichmakerlab.de << EOF + set -x # Enable command echoing docker pull ghcr.io/munichmakerlab/website:main systemctl restart docker-website.service + systemctl status docker-website.service EOF