balena-supervisor/.github/actions/finalize/action.yml
Self-hosted Renovate Bot 9945629f0a Update balena-io/deploy-to-balena-action action to v2.0.65
Update balena-io/deploy-to-balena-action from 2.0.63 to 2.0.65

Change-type: patch
2024-05-06 01:33:52 +00:00

23 lines
970 B
YAML

# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
name: 'Finalize releases on staging'
description: 'Custom publish step to finalize releases on balena staging'
# these inputs are always provided by flowzone, so they must always be defined on the composite action
inputs:
json:
description: 'JSON stringified object containing all the inputs from the calling workflow'
required: true
secrets:
description: 'JSON stringified object containing all the secrets from the calling workflow'
required: true
runs:
using: 'composite'
steps:
- uses: balena-io/deploy-to-balena-action@8f42a1d4bda3133022280511e3bfe5f2206a0cbf # v2.0.65
with:
balena_token: ${{ fromJSON(inputs.secrets).BALENA_STAGING_TOKEN }}
fleet: ${{ env.matrix_value }}
environment: balena-staging.com
versionbot: false # ignore versionbot branch since the flowzone source is already versioned
source: .