Fix deploy: use docker API instead of filesystem access
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 26s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 26s
This commit is contained in:
parent
0edf7ab9e9
commit
59da6d7f9e
@ -53,6 +53,6 @@ jobs:
|
||||
|
||||
- name: Deploy (reload container)
|
||||
run: |
|
||||
cd /home/szmyt/docker/sites/sztucznainteligencjadlafirm
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
docker pull registry.szmyt151.pl/registryuser/sztucznainteligencjadlafirm:latest
|
||||
docker restart sztucznainteligencjadlafirm || true
|
||||
echo "Container restarted successfully"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user