Skip to content

Commit

Permalink
feat: Use the build information repository to push to Octopus (#56)
Browse files Browse the repository at this point in the history
Release-As: 1.0.0
  • Loading branch information
hnrkndrssn committed Jun 27, 2022
1 parent 4050720 commit cfab6c4
Show file tree
Hide file tree
Showing 6 changed files with 241 additions and 64 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -21,14 +21,14 @@ Incorporate the following actions in your workflow to push build information to
env:
OCTOPUS_HOST: ${{ secrets.OCTOPUS_URL }}
OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_API_KEY }}
OCTOPUS_SPACE: '<spaceid>'
steps:
- uses: actions/checkout@v2
- name: Push build information to Octopus Deploy 🐙
uses: OctopusDeploy/push-build-information-action@<version>
with:
packages: |
'<packageId1>'
space: '<space>'
version: '<versionofpackages>'
```

Expand All @@ -39,7 +39,6 @@ The following inputs are required:
| Name | Description | Default |
| :--------- | :------------------------------------------------------------------------- | :-----: |
| `packages` | A multi-line list of packages to push build information to Octopus Deploy. | |
| `space` | The name or ID of a space within which this command will be executed. | |
| `version` | The version of the package(s). | |

The following inputs are optional:
Expand Down
2 changes: 0 additions & 2 deletions action.yml
Expand Up @@ -16,8 +16,6 @@ inputs:
description: 'Determines the action to perform with build information if it already exists in the repository. Valid values are "FailIfExists", "OverwriteExisting", and "IgnoreIfExists".'
packages:
description: 'A multi-line list of packages to push to Octopus Deploy.'
space:
description: 'The name or ID of a space within which this command will be executed. If omitted, the default space will be used.'
version:
description: 'The version of the package(s)'

Expand Down

0 comments on commit cfab6c4

Please sign in to comment.