mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-22 15:02:23 +00:00
d7c14686cf
Update balena-io/deploy-to-balena-action from 2.0.57 to 2.0.58 Change-type: patch
23 lines
950 B
YAML
23 lines
950 B
YAML
# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
|
|
name: "Publish to staging"
|
|
description: "Custom publish step to publish to 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@556c336657e39bc33b451fe449455b092f6ad41e # v2.0.58
|
|
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: .
|