Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Digital.ai Release GitHub Actions

This GitHub Action enables the creation of a new release and start it on the Digital.ai Release. It facilitates seamless integration between your GitHub repository and Digital.ai Release, automating release management processes.

Example Usage

name: Create and Start Releaseon: [push]jobs:
create-and-start-release:
runs-on: ubuntu-lateststeps:
- name: Create & Start Releaseid: releaseuses: digital-ai/github-actions-release@v2.0.0with:
serverUrl: 'http://digital-ai-release-server-url:5516'username: ${{ secrets.RELEASE_USERNAME }}password: ${{ secrets.RELEASE_PASSWORD }}templateId: 'Applications/FolderXXXXXXXXX/ReleaseXXXXXXXXX'releaseTitle: 'New Release from GitHub Actions'variables: '{"var1": "value1", "var2": "value2"}'startRelease: 'true'
- name: Get Release Datarun: echo ${{ steps.release.outputs.response }}
- name: Get Release Idrun: echo ${{ steps.release.outputs.id }}
- name: Get Release Statusrun: echo ${{ steps.release.outputs.status }}

Example Actions File : start-digital-ai-release.yml

Inputs

NameDescriptionRequiredDefault
serverUrlThe address of the Digital.ai Release server.Yes-
usernameUsername for authentication to the Digital.ai Release server. Required if token is not provided.Yes*-
passwordPassword for authentication to the Digital.ai Release server. Required if token is not provided.Yes*-
tokenPersonal access token for authentication to the Digital.ai Release server. If provided, username and password are not required.Yes*-
templateIdThe full template identifier in Digital.ai Release is as follows: For example, Applications/Folder3f5cf31df/Releasec4e4b7bce4
For more details, click here
Yes-
releaseTitleOptional. Title of the release. If not provided, a default title will be assigned.NoGITHUB_TAG /
GITHUB_HEAD_REF
variablesOptional. JSON string representing the variables object to be passed to the release template.No-
startReleaseOptional. It indicating whether to start the release. Default is true.Notrue

Outputs

NameDescription
responseThe response containing the data of the newly created release.
idThe id of the newly created release.
statusThe status of the newly created release.

About

This GitHub Action enables the creation of a new release and start it on the Digital.ai Release. It facilitates seamless integration between your GitHub repository and Digital.ai Release, automating release management processes.

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages