name: Install Octopus CLI π
uses: OctopusDeploy/install-octopus-cli-action@v3
with:
version: '*'
name: Install Octopus CLI π
uses: OctopusDeploy/install-octopus-cli-action@v3
with:
version: '*'
name: Push a package to Octopus Deploy π
uses: OctopusDeploy/push-package-action@v3
env:
OCTOPUS_API_KEY: ${{ secrets.API_KEY }}
OCTOPUS_SPACE: 'Default Space'
OCTOPUS_URL: ${{ secrets.SERVER }}
with:
packages: |
package1.tar.gz
package2.zip
packages/**/*.zip
name: Run a runbook in Octopus Deploy π
uses: OctopusDeploy/run-runbook-action@v3
env:
OCTOPUS_API_KEY: ${{ secrets.API_KEY }}
OCTOPUS_SPACE: 'Default Space'
OCTOPUS_URL: ${{ secrets.SERVER }}
with:
project: 'Test Project'
runbook: 'Test Runbook'
environments: [ |
'Dev'
'Test']
name:Create a release in Octopus Deploy π
uses: OctopusDeploy/create-release-action@v3
env:
OCTOPUS_API_KEY: ${{ secrets.API_KEY }}
OCTOPUS_SPACE: 'Default Space'
OCTOPUS_URL: ${{ secrets.SERVER }}
with:
project: 'MyProject'
name: Push build information to Octopus Deploy π
uses: OctopusDeploy/push-build-information-action@v3
env:
OCTOPUS_API_KEY: ${{ secrets.API_KEY }}
OCTOPUS_SPACE: 'Default Space'
OCTOPUS_URL: ${{ secrets.SERVER }}
with:
packages: |
''
version: ''
name: Await task in Octopus Deploy π
uses: OctopusDeploy/await-task-action@v3
env:
OCTOPUS_API_KEY: ${{ secrets.API_KEY }}
OCTOPUS_SPACE: 'Default Space'
OCTOPUS_URL: ${{ secrets.SERVER }}
with:
server_task_id: {{ steps.some_previous_deployment_step.outputs.server_tasks[0].server_task_id }}
name: Create a NuGet package π
uses: OctopusDeploy/create-nuget-package-action@v3
with:
package_id: 'DemoPackage'
version: '1.0.0'
output_folder: 'packaging'
base_path: reports
files: |
**/*.*
nuspec_description: package description
nuspec_authors: |
author 1
author 2
nuspec_release_notes: |
This is a multiline
release note
name: Create a Zip package π
uses: OctopusDeploy/create-zip-package-action@v3
with:
package_id: 'DemoPackage'
version: '1.0.0'
output_folder: './packaging'
base_path: reports
files: |
**/*.*
name: Deploy a release in Octopus Deploy π
uses: OctopusDeploy/deploy-release-action@v3
env:
OCTOPUS_API_KEY: ${{ secrets.API_KEY }}
OCTOPUS_SPACE: 'Default Space'
OCTOPUS_URL: ${{ secrets.SERVER }}
with:
project: 'MyProject'
release_version: '1.0.0'
environments: [ |
'Dev'
'Test']
variables:
'Foo: Bar'
'Fizz: Buzz']
name: Deploy a release in Octopus Deploy π
uses: OctopusDeploy/deploy-release-tenanted-action@v3
env:
OCTOPUS_API_KEY: ${{ secrets.API_KEY }}
OCTOPUS_SPACE: 'Default Space'
OCTOPUS_URL: ${{ secrets.SERVER }}
with:
project: 'MyProject'
release_version: '1.0.0'
environment: 'Dev'
tenants: [ |
'Some Tenant A'
'Some Tenant B']
tenant_tags: [ |
'setA/someTagB'
'setC/someTagD']
variables: [ |
'Foo: Bar'
'Fizz: Buzz']