{"id":15823754,"url":"https://github.com/stefh/ghaction-compressfiles","last_synced_at":"2025-03-15T02:30:54.616Z","repository":{"id":42506301,"uuid":"274214581","full_name":"StefH/ghaction-CompressFiles","owner":"StefH","description":"A GitHub Action for compressing files using Brotli or GZip","archived":false,"fork":false,"pushed_at":"2022-04-02T10:18:25.000Z","size":11,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-13T21:01:23.220Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StefH.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}},"created_at":"2020-06-22T18:34:05.000Z","updated_at":"2024-03-05T20:59:32.000Z","dependencies_parsed_at":"2023-01-05T04:49:40.625Z","dependency_job_id":null,"html_url":"https://github.com/StefH/ghaction-CompressFiles","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.19999999999999996","last_synced_commit":"d848c75bbbf182e11a6a622e85c2c85b9736cd13"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2Fghaction-CompressFiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2Fghaction-CompressFiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2Fghaction-CompressFiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2Fghaction-CompressFiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StefH","download_url":"https://codeload.github.com/StefH/ghaction-CompressFiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243674645,"owners_count":20329134,"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":[],"created_at":"2024-10-05T08:22:39.291Z","updated_at":"2025-03-15T02:30:54.323Z","avatar_url":"https://github.com/StefH.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ghaction-CompressFiles\n\nA GitHub Action for compressing files using Brotli or GZip compression.\n\n## Why\n\nIn case you deploy your Blazor Web on GitHub Pages are have modified some files (*.js or *.html) and want to recompress these, use this GitHub Action.\n\n## Usage\n\n### Inputs\n\n#### `path` (required)\n\nThe path to find the files. Default this is `.`\n\n#### `extensions`\n\nA comma separated list from all the file-extensions you want to compress. Default this is set to `.js,.css,.html,.json`\n\n#### `tools`\n\nA comma separated list from the compresion utilities you want to use. Valid values are `brotli` and `gzip`. Default both are used.\n\n#### `depth`\n\nMaximum folder depth to process. Default this is set to `3`.\n\n#### `deterministicCompression`\n\nWhen using \"gzip\"-compression, do not save or restore the original name and timestamp. \nCan be used for deterministic builds.\n\nDefault this is set to `\"false\"`.\n\n### Example\n\n``` yml\n- name: CompressFiles\n  uses: stefh/ghaction-CompressFiles@v2\n  with:\n    path: ${{ env.PUBLISH_DIR }}\n    extensions: '.js,.css,.html'\n    tools: 'brotli,gzip'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefh%2Fghaction-compressfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefh%2Fghaction-compressfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefh%2Fghaction-compressfiles/lists"}