All Projects → OctopusDeploy → create-release-action

OctopusDeploy / create-release-action

Licence: other
| Public | GitHub Action to Create a Release in Octopus Deploy

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to create-release-action

push-package-action
| Public | GitHub Action to Push a Package to Octopus Deploy
Stars: ✭ 23 (-66.18%)
Mutual labels:  deployment, public, octopus-deploy, github-actions
Ensconce
A .net command line tool for aiding deployment of server components.
Stars: ✭ 15 (-77.94%)
Mutual labels:  deployment, octopus-deploy
github-env-vars-action
🚀 GitHub Action for Environment Variables
Stars: ✭ 129 (+89.71%)
Mutual labels:  deployment, github-actions
Github Pages Deploy Action
Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.
Stars: ✭ 2,507 (+3586.76%)
Mutual labels:  deployment, github-actions
github-create-release-action
Github Action that create Github Release automatically
Stars: ✭ 28 (-58.82%)
Mutual labels:  deployment, github-actions
actions-publish-gh-pages
🍣 A GitHub Action to publish static website using GitHub Pages
Stars: ✭ 12 (-82.35%)
Mutual labels:  deployment, github-actions
Librarian
Easily host your iOS and Android builds locally!
Stars: ✭ 35 (-48.53%)
Mutual labels:  deployment
publish-docker-action
GitHub Action used to build, tag and publish docker image to your docker registry
Stars: ✭ 31 (-54.41%)
Mutual labels:  github-actions
ML-CaPsule
ML-capsule is a Project for beginners and experienced data science Enthusiasts who don't have a mentor or guidance and wish to learn Machine learning. Using our repo they can learn ML, DL, and many related technologies with different real-world projects and become Interview ready.
Stars: ✭ 177 (+160.29%)
Mutual labels:  deployment
fabula
Minimalist server scripts.
Stars: ✭ 53 (-22.06%)
Mutual labels:  deployment
myshoes
Auto-scaling VirtualMachine runner 🏃 for GitHub Actions
Stars: ✭ 68 (+0%)
Mutual labels:  github-actions
web-ext-deploy
A tool for deploying WebExtensions to multiple stores.
Stars: ✭ 28 (-58.82%)
Mutual labels:  deployment
actions-js-build
GitHub Actions for running Javascript build tools and committing file changes
Stars: ✭ 46 (-32.35%)
Mutual labels:  github-actions
mc-publish
GitHub Action that helps you publish your Minecraft mods
Stars: ✭ 76 (+11.76%)
Mutual labels:  github-actions
CodeforcesApiPy
Implementation of https://codeforces.com API
Stars: ✭ 17 (-75%)
Mutual labels:  github-actions
changelog-generator
GitHub Action to generate changelogs, release notes, whatever
Stars: ✭ 95 (+39.71%)
Mutual labels:  github-actions
get-diff-action
GitHub Actions to get git diff
Stars: ✭ 149 (+119.12%)
Mutual labels:  github-actions
zhiiiyang
It is a self-updating personal README showing my latest tweet and reply.
Stars: ✭ 27 (-60.29%)
Mutual labels:  github-actions
DemoApp
An Android template project for fast development and test.
Stars: ✭ 33 (-51.47%)
Mutual labels:  github-actions
soql
Models and query generator for Salesforce Object Query Language (SOQL)
Stars: ✭ 16 (-76.47%)
Mutual labels:  public

create-release-action

This is a GitHub Action to create a release in Octopus Deploy. It requires the Octopus CLI; please ensure to include install-octopus-cli-action in your workflow (example below) before using this GitHub Action.

Releases in Octopus Deploy

A release is a snapshot of the deployment process and the associated assets (packages, scripts, variables) as they existed when the release was created. The release is given a version number, and you can deploy that release as many times as you need to, even if parts of the deployment process have changed since the release was created (those changes will be included in future releases but not in this version).

When you deploy the release, you are executing the deployment process with all the associated details, as they existed when the release was created.

More information about releases in Octopus Deploy:

Migration Guide(s)

Please refer to the migration guide if moving between major versions of this action.

Examples

Incorporate the following actions in your workflow to create a release in Octopus Deploy using an API key, a target instance (i.e. server), and a project:

env:

steps:
  # ...
  - name: Install Octopus CLI 🐙
    uses: OctopusDeploy/install-octopus-cli-action@v1
    with:
      version: latest

  - name: Create a release in Octopus Deploy 🐙
    uses: OctopusDeploy/create-release-action@v2
    env:
      OCTOPUS_API_KEY: ${{ secrets.API_KEY  }}
      OCTOPUS_HOST: ${{ secrets.SERVER }}
      OCTOPUS_SPACE: 'Spaces-1'
    with:
      project: 'MyProject'

✍️ Environment Variables

Name Description
OCTOPUS_API_KEY The API key used to access Octopus Deploy. API-GUEST may be used if the guest account is enabled. It is strongly recommended that this value retrieved from a GitHub secret.
OCTOPUS_HOST The base URL hosting Octopus Deploy (i.e. https://octopus.example.com). It is strongly recommended that this value retrieved from a GitHub secret.
OCTOPUS_PROXY The URL of a proxy to use (i.e. https://proxy.example.com). If OCTOPUS_PROXY_USERNAME and OCTOPUS_PROXY_PASSWORD are omitted, the default credentials are used. It is strongly recommended that this value retrieved from a GitHub secret.
OCTOPUS_PROXY_PASSWORD The password used to connect to a proxy. It is strongly recommended to retrieve this value from a GitHub secret.
OCTOPUS_PROXY_USERNAME The username used to connect to a proxy. It is strongly recommended to retrieve this value from a GitHub secret.
OCTOPUS_SPACE The ID of a space within which this command will be executed.

📥 Inputs

Name Description
project Required. The name or ID of the project associated with this release.
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. If the guest account is enabled, a key of API-GUEST may be used. It is strongly recommended that this value retrieved from a GitHub secret.
server The base URL hosting Octopus Deploy (i.e. "https://octopus.example.com/"). The Server URL is required, but you may also use the OCTOPUS_HOST environment variable.
release_number The number for the new release. If omitted, Octopus Deploy will generate a release number.
space The name or ID of a space within which this command will be executed.
package_version The version number of all packages to use for this release.
packages A multi-line list of version numbers to use for a package in the release. Format: StepName:Version or PackageID:Version or StepName:PackageName:Version. StepName, PackageID, and PackageName can be replaced with an asterisk ("*"). An asterisk will be assumed for StepName, PackageID, or PackageName if they are omitted.
channel The name or ID of the channel to use for the new release. If omitted, the best channel will be selected.
git_ref Git branch reference to the specific resources of a version controlled Octopus Project. This is required for version controlled projects.
git_commit Git commit pointing to the specific resources of a version controlled Octopus Project. If empty, it will use the HEAD from the corresponding gitRef parameter.
ignore_existing Ignore existing releases if present in Octopus Deploy with the matching version number. Defaults to false
proxy The URL of a proxy to use (i.e. https://proxy.example.com). You may also use the OCTOPUS_PROXY environment variable.
proxy_username The username used to connect to a proxy. You may also use the OCTOPUS_PROXY_USERNAME environment variable. It is strongly recommended to retrieve this value from a GitHub secret.
proxy_password The password used to connect to a proxy. You may also use the OCTOPUS_PROXY_PASSWORD environment variable. It is strongly recommended to retrieve this value from a GitHub secret. If proxy_username and proxy_password are omitted and proxy URL is specified, the default credentials are used.
release_notes The release notes associated with the new release (Markdown is supported).
release_notes_file Path to a file that contains release notes for the new release. Supports Markdown files.

📤 Outputs

Name Description
release_number The release number assigned to the Release in Octopus Deploy. Use this if you wish to refer to the release later in your script.

🤝 Contributions

Contributions are welcome! ❤️ Please read our Contributing Guide for information about how to get involved in this project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].