We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cc765e commit 4f1e001Copy full SHA for 4f1e001
.github/workflows/jekyll-deploy.yml
@@ -41,6 +41,7 @@ jobs:
41
ssh -i ${HOME}/.ssh/deploy.id_rsa -o StrictHostKeyChecking=no [email protected] << EOF
42
set -x # Enable command echoing
43
docker pull ghcr.io/munichmakerlab/website:main
44
+ docker images | grep ghcr.io/munichmakerlab/website | grep -v main | awk '{print $3}' | xargs docker rmi #remove old images
45
systemctl restart docker-website.service
46
systemctl status docker-website.service
47
EOF
0 commit comments