{"id":25517842,"url":"https://github.com/foxdalas/cloudfront-invalidator","last_synced_at":"2025-04-10T22:42:24.078Z","repository":{"id":254067606,"uuid":"845388676","full_name":"foxdalas/cloudfront-invalidator","owner":"foxdalas","description":"Github Action for Invalidate Cloudfront Cache","archived":false,"fork":false,"pushed_at":"2025-04-07T03:26:14.000Z","size":5741,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T04:27:09.209Z","etag":null,"topics":["actions","aws","cloudfront","invalidate","invalidate-cache"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/foxdalas.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":"2024-08-21T06:43:32.000Z","updated_at":"2025-03-05T09:42:36.000Z","dependencies_parsed_at":"2025-02-10T04:24:10.951Z","dependency_job_id":"bb53b2ce-36ff-4e16-8abf-6992153aa797","html_url":"https://github.com/foxdalas/cloudfront-invalidator","commit_stats":null,"previous_names":["foxdalas/cloudfront-invalidator"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxdalas%2Fcloudfront-invalidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxdalas%2Fcloudfront-invalidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxdalas%2Fcloudfront-invalidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxdalas%2Fcloudfront-invalidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foxdalas","download_url":"https://codeload.github.com/foxdalas/cloudfront-invalidator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312208,"owners_count":21082638,"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":["actions","aws","cloudfront","invalidate","invalidate-cache"],"created_at":"2025-02-19T15:38:05.760Z","updated_at":"2025-04-10T22:42:24.056Z","avatar_url":"https://github.com/foxdalas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudfront Invalidator\n\nThis GitHub Action invalidates the CloudFront cache for specified paths by finding the CloudFront distribution based on tags.\n\n## Usage\n\nUse this action to invalidate specific paths in a CloudFront distribution. The action finds the CloudFront distribution using tags and invalidates the provided paths.\n\n```yaml\n- uses: foxdalas/cloudfront-invalidator@v1\n  with:\n    # Cloudfont distribution tag key to identify the distribution\n    tag_key: \"\"\n    # Cloudfront distribution tag value to identify the distribution\n    tag_value: \"\"\n    # Paths to invalidate. Provide paths in a JSON array format, e.g., '/path1, /path2'. Paths must start with a '/'\n    paths: '/index.html, /assets/*'\n    # Wait for the invalidation to complete. Default is true\n    wait: true\n```\n\n### Example Workflow\n\n```yaml\nname: Invalidate CloudFront Cache\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  invalidate:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Invalidate CloudFront paths\n        uses: foxdalas/cloudfront-invalidator@v1\n        with:\n          tag_key: \"Environment\"\n          tag_value: \"Production\"\n          paths: \"/index.html, /assets/*\"\n          wait: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxdalas%2Fcloudfront-invalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxdalas%2Fcloudfront-invalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxdalas%2Fcloudfront-invalidator/lists"}