{"id":44438739,"url":"https://github.com/eaudeweb/drupal-cleanup-action","last_synced_at":"2026-02-12T14:29:50.740Z","repository":{"id":157098401,"uuid":"616667535","full_name":"eaudeweb/drupal-cleanup-action","owner":"eaudeweb","description":"Cleanup older deployments","archived":false,"fork":false,"pushed_at":"2024-08-15T13:56:56.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"1.x","last_synced_at":"2024-08-16T14:47:07.338Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eaudeweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-20T20:54:39.000Z","updated_at":"2024-08-16T14:47:07.338Z","dependencies_parsed_at":null,"dependency_job_id":"72cf9e9c-8cdd-4d2c-bfb7-be1f5c5ca6f8","html_url":"https://github.com/eaudeweb/drupal-cleanup-action","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/eaudeweb/drupal-cleanup-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaudeweb%2Fdrupal-cleanup-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaudeweb%2Fdrupal-cleanup-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaudeweb%2Fdrupal-cleanup-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaudeweb%2Fdrupal-cleanup-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eaudeweb","download_url":"https://codeload.github.com/eaudeweb/drupal-cleanup-action/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaudeweb%2Fdrupal-cleanup-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29368638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-12T14:29:47.204Z","updated_at":"2026-02-12T14:29:50.736Z","avatar_url":"https://github.com/eaudeweb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Directory cleanup action\n\nThis action does a SSH into a remote server and cleans up older deployments (directories) with a pre-defined pattern. Preserve only the newest number of configured directories.\n\nUsage:\n\n```\n      - name: 'Cleanup old releases'\n        uses: eaudeweb/drupal-cleanup-action@1.x\n        with:\n          ssh_user:             ${{ secrets.TEST_SSH_USER }}\n          ssh_host:             ${{ secrets.TEST_SSH_HOST }}\n          ssh_key:              ${{ secrets.TEST_SSH_KEY }}\n          ssh_user_jumphost:    ${{ secrets.TEST_SSH_USER_JUMPHOST }}\n          ssh_host_jumphost:    ${{ secrets.TEST_SSH_HOST_JUMPHOST }}\n          cleanup_dir:          /var/www/artifacts/example.org\n          pattern:              *release-*\n          retain:               5\n```\n\n**Caveat**: When target directory contains other directories containing the pattern (e.g. `custom-release-backup`) cleanup won't work properly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feaudeweb%2Fdrupal-cleanup-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feaudeweb%2Fdrupal-cleanup-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feaudeweb%2Fdrupal-cleanup-action/lists"}