tldr/pages/windows/octo.md

21 lines
542 B
Markdown
Raw Normal View History

2019-10-23 06:46:11 +01:00
# octo
> Command-line tools for Octopus Deploy.
2019-10-23 06:46:11 +01:00
> More information: <https://octopus.com/docs/octopus-rest-api/octo.exe-command-line>.
- Create a package:
`octo pack --id={{package}}`
2019-10-23 06:46:11 +01:00
- Push a package to a repository on the Octopus server:
`octo push --package={{package}}`
2019-10-23 06:46:11 +01:00
- Create a release:
`octo create-release --project={{project_name}} --packageversion={{version}}`
- Deploy a release:
`octo deploy-release --project={{project_name}} --packageversion={{version}} --deployto={{environment_name}} --tenant={{deployment_target}}`