balena-supervisor/.github/actions/publish/action.yml
Self-hosted Renovate Bot aa07a160e9 Update balena-io/deploy-to-balena-action action to v1
Update balena-io/deploy-to-balena-action
Changelog-entry: Update balena-io/deploy-to-balena-action to v1.0.3
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2023-09-28 11:41:23 -07:00

23 lines
906 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@v1.0.3
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: .