{"id":14563542,"url":"https://github.com/fluent-ci-templates/github-pipeline","last_synced_at":"2025-06-27T06:39:37.892Z","repository":{"id":204533712,"uuid":"707032206","full_name":"fluent-ci-templates/github-pipeline","owner":"fluent-ci-templates","description":"A ready-to-use CI/CD Pipeline for uploading assets to github releases.","archived":false,"fork":false,"pushed_at":"2025-01-21T18:19:14.000Z","size":205,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-21T17:51:41.553Z","etag":null,"topics":["cicd","dagger","deno","github","pipeline","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/fluent-ci-templates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2023-10-19T05:01:28.000Z","updated_at":"2025-01-21T18:18:24.000Z","dependencies_parsed_at":"2023-12-01T19:28:22.216Z","dependency_job_id":"e9aa5a93-060a-426b-b005-e61b91d4281d","html_url":"https://github.com/fluent-ci-templates/github-pipeline","commit_stats":null,"previous_names":["fluent-ci-templates/github-pipeline"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/fluent-ci-templates/github-pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fgithub-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fgithub-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fgithub-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fgithub-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent-ci-templates","download_url":"https://codeload.github.com/fluent-ci-templates/github-pipeline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fgithub-pipeline/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262209660,"owners_count":23275471,"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":["cicd","dagger","deno","github","pipeline","typescript"],"created_at":"2024-09-07T02:02:18.878Z","updated_at":"2025-06-27T06:39:37.839Z","avatar_url":"https://github.com/fluent-ci-templates.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","typescript"],"sub_categories":[],"readme":"# Github Pipeline\n\n[![fluentci pipeline](https://shield.fluentci.io/x/github_pipeline)](https://pkg.fluentci.io/github_pipeline)\n![deno compatibility](https://shield.deno.dev/deno/^1.41)\n[![dagger-min-version](https://shield.fluentci.io/dagger/v0.11.7)](https://dagger.io)\n[![](https://jsr.io/badges/@fluentci/github)](https://jsr.io/@fluentci/github)\n[![](https://img.shields.io/codecov/c/gh/fluent-ci-templates/github-pipeline)](https://codecov.io/gh/fluent-ci-templates/github-pipeline)\n\n\nA ready-to-use CI/CD Pipeline for uploading assets to github releases.\n\n## 🚀 Usage\n\nRun the following command:\n\n```bash\nfluentci run github_pipeline\n```\n\n## 🧩 Dagger Module\n\nUse as a [Dagger](https://dagger.io) Module:\n\n```bash\ndagger install github.com/fluent-ci-templates/github-pipeline@main\n```\n\nCall a function from the module:\n\n```bash\ndagger call release-upload --src . \\\n --tag v0.1.0 \\\n --file demo_x86_64-unknown-linux-gnu.tar.gz \\\n --token GH_TOKEN\n```\n\n## 🛠️ Environment Variables\n\n| Variable              | Description                   |\n|-----------------------|-------------------------------|\n| TAG                   | Tag to upload the file to     |\n| FILE                  | File to upload                |\n| GH_TOKEN              | Github Access Token           |\n\n\n## ✨ Jobs\n\n| Job            | Description                                                |\n|----------------|------------------------------------------------------------|\n| release_upload | Uploads a file to a github release                         |\n\n```typescript\nreleaseUpload(\n  src: string | Directory,\n  tag: string,\n  file: string,\n  token: string | Secret\n): Promise\u003cstring\u003e\n```\n\n## 👨‍💻 Programmatic usage\n\nYou can also use this pipeline programmatically:\n\n```typescript\nimport { releaseUpload } from \"jsr:@fluentci/github\";\n\nawait releaseUpload(\n  \".\",\n  Deno.env.get(\"TAG\") || \"latest\",\n  Deno.env.get(\"FILE\")!,\n  Deno.env.get(\"GH_TOKEN\")!\n);\n```\n\n## Examples\n\nSee [fluentci-io/github-release-demo](https://github.com/fluentci-io/github-release-demo) for an example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fgithub-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent-ci-templates%2Fgithub-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fgithub-pipeline/lists"}