{"id":21313950,"url":"https://github.com/octopusdeploy/push-package-action","last_synced_at":"2025-04-07T11:06:45.077Z","repository":{"id":37940606,"uuid":"352837931","full_name":"OctopusDeploy/push-package-action","owner":"OctopusDeploy","description":"| Public |  :octocat: GitHub Action to Push a Package to Octopus Deploy","archived":false,"fork":false,"pushed_at":"2024-10-30T02:05:17.000Z","size":2866,"stargazers_count":33,"open_issues_count":9,"forks_count":5,"subscribers_count":17,"default_branch":"main","last_synced_at":"2024-10-30T04:57:27.717Z","etag":null,"topics":["cli","deployment","github-actions","octopus-deploy","public"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/push-package-to-octopus-deploy","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OctopusDeploy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-30T01:49:24.000Z","updated_at":"2024-10-27T02:07:36.000Z","dependencies_parsed_at":"2023-12-12T03:21:49.038Z","dependency_job_id":"55adb097-f22e-400b-90f5-fe073913c4af","html_url":"https://github.com/OctopusDeploy/push-package-action","commit_stats":{"total_commits":300,"total_committers":19,"mean_commits":"15.789473684210526","dds":0.6766666666666667,"last_synced_commit":"e56e7eee2149c19749d16f1262d97ac2164f7700"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctopusDeploy%2Fpush-package-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctopusDeploy%2Fpush-package-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctopusDeploy%2Fpush-package-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctopusDeploy%2Fpush-package-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OctopusDeploy","download_url":"https://codeload.github.com/OctopusDeploy/push-package-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640462,"owners_count":20971557,"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":["cli","deployment","github-actions","octopus-deploy","public"],"created_at":"2024-11-21T18:09:26.583Z","updated_at":"2025-04-07T11:06:45.053Z","avatar_url":"https://github.com/OctopusDeploy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# push-package-action\n\n\u003cimg alt= \"\" src=\"https://github.com/OctopusDeploy/push-package-action/raw/main/assets/github-actions-octopus.png\" /\u003e\n\nThis is a GitHub Action to push a package to [Octopus Deploy](https://octopus.com/).\n\n## Examples\n\nIncorporate the following actions in your workflow to push a package to Octopus Deploy using an API key, a target instance (i.e. `server`), and a project:\n\n```yml\nsteps:\n  - uses: actions/checkout@v3\n\n  - name: Push a package to Octopus Deploy 🐙\n    uses: OctopusDeploy/push-package-action@v3\n    env:\n      OCTOPUS_URL: ${{ secrets.SERVER }}\n      OCTOPUS_API_KEY: ${{ secrets.API_KEY }}\n      OCTOPUS_SPACE: 'Default'\n    with:\n      packages: |\n        package1.tar.gz\n        package2.zip\n        packages/**/*.zip\n```\n\n## 📥 Environment Variables\n\n| Name              | Description                                                                                                                                          |\n| :---------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `OCTOPUS_URL`     | The base URL hosting Octopus Deploy (i.e. `https://octopus.example.com`). It is strongly recommended that this value retrieved from a GitHub secret. |\n| `OCTOPUS_API_KEY` | The API key used to access Octopus Deploy. It is strongly recommended that this value retrieved from a GitHub secret.                                |\n| `OCTOPUS_SPACE`   | The Name of a space within which this command will be executed.                                                                                      |\n\n## 📥 Inputs\n\n| Name             | Description                                                                                                                                                                                                  |\n| :--------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `packages`       | **Required.** A multi-line and/or comma-delimited list of packages to push to Octopus Deploy (i.e. package1,package2).                                                                                       |\n| `overwrite_mode` | Determines the action to perform with package if it already exists in the repository. Valid input values are `FailIfExists` (default), `OverwriteExisting`, and `IgnoreIfExists`.                            |\n| `server`         | The instance URL hosting Octopus Deploy (i.e. \"https://octopus.example.com/\"). The instance URL is required, but you may also use the OCTOPUS_URL environment variable.                                      |\n| `api_key`        | The API key used to access Octopus Deploy. An API key is required, but you may also use the OCTOPUS_API_KEY environment variable. It is strongly recommended that this value retrieved from a GitHub secret. |\n| `space`          | The name of a space within which this command will be executed. The space name is required, but you may also use the OCTOPUS_SPACE environment variable.                                                     |\n\n## 🤝 Contributions\n\nContributions are welcome! :heart: Please read our [Contributing Guide](CONTRIBUTING.md) for information about how to get involved in this project.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctopusdeploy%2Fpush-package-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctopusdeploy%2Fpush-package-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctopusdeploy%2Fpush-package-action/lists"}