Restart nginx container after deploy
Build & Deploy / deploy (push) Successful in 32s

This commit is contained in:
2026-06-06 19:16:14 +02:00
parent 1c2e8a5f97
commit f670b974bd
+1 -1
View File
@@ -34,4 +34,4 @@ jobs:
ssh-keyscan -H pyte.dev >> ~/.ssh/known_hosts
ssh -i ~/.ssh/id_ed25519 demian@pyte.dev "rm -rf /opt/docker/website/public"
scp -i ~/.ssh/id_ed25519 -r public demian@pyte.dev:/opt/docker/website/
ssh -i ~/.ssh/id_ed25519 demian@pyte.dev "chmod -R 755 /opt/docker/website/public"
ssh -i ~/.ssh/id_ed25519 demian@pyte.dev "chmod -R 755 /opt/docker/website/public && docker ps -q --filter name=nginx | xargs -r docker restart"