backend: Refactor cleanup action to move OpenVidu Meet directory removal step
This commit is contained in:
parent
72981f84be
commit
9a8da3e6fe
12
.github/actions/cleanup/action.yaml
vendored
12
.github/actions/cleanup/action.yaml
vendored
@ -29,16 +29,16 @@ runs:
|
||||
ps aux | grep -i 'npm\|node\|livekit' | grep -v grep | awk '{print $2}' | xargs kill -9 || true
|
||||
shell: bash
|
||||
|
||||
- name: Remove OpenVidu Meet directory
|
||||
run: |
|
||||
if [ -d "/__w/openvidu-meet/openvidu-meet" ]; then
|
||||
sudo rm -rf /__w/openvidu-meet/openvidu-meet
|
||||
fi
|
||||
shell: bash
|
||||
- name: Show system status
|
||||
run: |
|
||||
echo "=== System status after cleanup ==="
|
||||
df -h
|
||||
free -h
|
||||
docker ps -a
|
||||
shell: bash
|
||||
- name: Remove OpenVidu Meet directory
|
||||
run: |
|
||||
if [ -d "/__w/openvidu-meet/openvidu-meet" ]; then
|
||||
sudo rm -rf /__w/openvidu-meet/openvidu-meet
|
||||
fi
|
||||
shell: bash
|
||||
Loading…
x
Reference in New Issue
Block a user