added deployment check
Some checks failed
Build and Deploy Container / build_and_deploy (push) Failing after 40s
Some checks failed
Build and Deploy Container / build_and_deploy (push) Failing after 40s
This commit is contained in:
@@ -95,7 +95,7 @@ jobs:
|
|||||||
- name: Verify deployment
|
- name: Verify deployment
|
||||||
run: |
|
run: |
|
||||||
ssh $TARGET_USER@$TARGET_HOST '
|
ssh $TARGET_USER@$TARGET_HOST '
|
||||||
podman ps --filter "name=$CONTAINER_NAME" --format "table {{.Names}}\t{{.Image}}\t{{.Status}}"
|
podman ps --filter "name=valtrix" --format "table {{.Names}}\t{{.Image}}\t{{.Status}} || echo "No running container named $CONTAINER_NAME""
|
||||||
echo "Container logs:"
|
echo "Container logs:"
|
||||||
podman logs $CONTAINER_NAME --tail 20
|
podman logs $CONTAINER_NAME --tail 20
|
||||||
'
|
'
|
||||||
Reference in New Issue
Block a user