mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
Merge pull request #172 from Hestia-Homes/sap_baseline-dev-model
Sap baseline dev model
This commit is contained in:
commit
68d0e5fefe
1 changed files with 18 additions and 6 deletions
24
.github/workflows/Deploy.yml
vendored
24
.github/workflows/Deploy.yml
vendored
|
|
@ -22,6 +22,24 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Clean Up Disk Space
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
# Space usage before cleanup
|
||||
df -h /
|
||||
|
||||
# Remove unused tool caches (comment any required ones with #)
|
||||
sudo rm -rf /usr/lib/jvm
|
||||
sudo rm -rf /usr/local/.ghcup
|
||||
sudo rm -rf /usr/local/lib/android
|
||||
sudo rm -rf /usr/local/share/powershell
|
||||
sudo rm -rf /usr/share/dotnet
|
||||
sudo rm -rf /usr/share/swift
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||
|
||||
# Verify gains
|
||||
df -h /
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
|
|
@ -95,12 +113,6 @@ jobs:
|
|||
aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: eu-west-2
|
||||
|
||||
- name: Check Disk Usage
|
||||
run: |
|
||||
df -h /
|
||||
du -sh /* 2>/dev/null | sort -hr | head -10
|
||||
uname -m # Bonus: Confirms x64 vs. aarch64
|
||||
|
||||
- name: DVC Pull
|
||||
run: |
|
||||
cd modules/ml-pipeline/src/pipeline
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue