Skip to content

Commit 25efe48

Browse files
committed
ci: try fix disk space error
1 parent 1dc48bc commit 25efe48

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/deploy-aws.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15+
- name: Free up disk space
16+
run: |
17+
echo "🔧 Cleaning up disk space to avoid 'no space left' error..."
18+
sudo docker system prune -af
19+
sudo rm -rf /usr/share/dotnet
20+
sudo rm -rf /usr/local/lib/android
21+
sudo apt-get clean
22+
df -h
23+
1524
- name: Checkout code
1625
uses: actions/checkout@v4
1726

0 commit comments

Comments
 (0)