mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
fixed some minor things
This commit is contained in:
parent
0d3e86c016
commit
73a19061db
1 changed files with 7 additions and 5 deletions
12
.github/actions/disk_space/action.yml
vendored
12
.github/actions/disk_space/action.yml
vendored
|
|
@ -12,13 +12,14 @@ runs:
|
||||||
- name: Get disk usage
|
- name: Get disk usage
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
df -h | head -n 1 | cut -d ' ' -f 3,5
|
# df -h | head -n 1 | cut -d ' ' -f 3,5
|
||||||
df -h | grep /\$ | cut -d ' ' -f 3,5
|
# df -h | grep /\$ | cut -d ' ' -f 3,5
|
||||||
|
df -h
|
||||||
|
|
||||||
- name: Detailed usage
|
- name: Detailed usage
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
du -h -d2 / 2>/dev/null | sort -hr | head -n 20 || true
|
du -h -d3 / 2>/dev/null | sort -hr | head -n 20 || true
|
||||||
|
|
||||||
- name: Clear
|
- name: Clear
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
@ -40,9 +41,10 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "used use%"
|
echo "used use%"
|
||||||
df -h | grep /\$ | cut -d ' ' -f 5,9
|
# df -h | grep /\$ | cut -d ' ' -f 5,9
|
||||||
|
df -h
|
||||||
|
|
||||||
- name: Detailed usage
|
- name: Detailed usage
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
du -h -d2 / 2>/dev/null | sort -hr | head -n 20 || true
|
du -h -d3 / 2>/dev/null | sort -hr | head -n 20 || true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue