Skip to content

Commit

Permalink
Update jekyll-deploy.yml - remove docker cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoMil authored Oct 7, 2024
1 parent 562965c commit 66cf433
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/jekyll-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ 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
docker images | grep ghcr.io/munichmakerlab/website | grep -v main | awk '{print $3}' | xargs docker rmi #remove old images
EOF

0 comments on commit 66cf433

Please sign in to comment.