{"id":18382499,"url":"https://github.com/kiss-my/drone-cloudfront-invalidate","last_synced_at":"2025-04-11T20:46:02.771Z","repository":{"id":98112722,"uuid":"181180772","full_name":"kiss-my/drone-cloudfront-invalidate","owner":"kiss-my","description":"Drone plugin to start a AWS CloudFront invalidation for given paths","archived":false,"fork":false,"pushed_at":"2019-04-15T09:38:07.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T23:42:11.015Z","etag":null,"topics":["aws","aws-cloudfront","drone","drone-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kiss-my.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-04-13T14:11:54.000Z","updated_at":"2020-11-10T20:19:39.000Z","dependencies_parsed_at":"2023-06-26T00:32:52.271Z","dependency_job_id":null,"html_url":"https://github.com/kiss-my/drone-cloudfront-invalidate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiss-my%2Fdrone-cloudfront-invalidate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiss-my%2Fdrone-cloudfront-invalidate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiss-my%2Fdrone-cloudfront-invalidate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiss-my%2Fdrone-cloudfront-invalidate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiss-my","download_url":"https://codeload.github.com/kiss-my/drone-cloudfront-invalidate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480315,"owners_count":21110935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aws","aws-cloudfront","drone","drone-plugin"],"created_at":"2024-11-06T01:06:15.383Z","updated_at":"2025-04-11T20:46:02.744Z","avatar_url":"https://github.com/kiss-my.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drone CloudFront Invalidate\nhttps://drone.io plugin to invalidate one \nor multiple AWS CloudFront paths.\n\n# Usage\n## Invalidate a single path\n```\ninvalidate_cloudfront_images:\n  image: kissmy/drone-cloudfront-invalidate\n  secrets: [aws_access_key_id, aws_secret_access_key]\n  distribution_id: ABCDEFGHIJKLMNOP\n  paths: ['/images/*']\n```\n\n## Invalidate multiple paths\n```\ninvalidate_cloudfront_assets:\n  image: kissmy/drone-cloudfront-invalidate\n  secrets: [aws_access_key_id, aws_secret_access_key]\n  distribution_id: ABCDEFGHIJKLMNOP\n  paths: ['/css/*','/images/*','/js/*']\n```\n\n## Per-branch invalidation\n```\nstaging_invalidate_cloudfront_assets:\n  image: kissmy/drone-cloudfront-invalidate\n  secrets: [aws_access_key_id, aws_secret_access_key]\n  distribution_id: ABCDEFGHIJKLMNOP\n  paths: ['/css/*','/images/*','/js/*']\n  when:\n    branch: [develop]\n```\n\n# Testing the image locally\n```\ndocker run --rm \\\n-e PLUGIN_AWS_ACCESS_KEY_ID=AWS_ACCESS_KEY_ID \\\n-e PLUGIN_AWS_SECRET_ACCESS_KEY=AWS_SECRET_ACCESS_KEY \\\n-e PLUGIN_DISTRIBUTION_ID=ABCDEFGHIJKLMNOP \\\n-e PLUGIN_PATHS='/css/*','/images/*','/js/*' \\\nkissmy/drone-cloudfront-invalidate\n```\n# License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiss-my%2Fdrone-cloudfront-invalidate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiss-my%2Fdrone-cloudfront-invalidate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiss-my%2Fdrone-cloudfront-invalidate/lists"}