Update web-deploy-nonprod.yml
This commit is contained in:
parent
1425a6368a
commit
8711fb3783
1 changed files with 5 additions and 0 deletions
5
.github/workflows/web-deploy-nonprod.yml
vendored
5
.github/workflows/web-deploy-nonprod.yml
vendored
|
|
@ -14,6 +14,10 @@ on:
|
||||||
type: string
|
type: string
|
||||||
description: An optional string to define which branch to checkout.
|
description: An optional string to define which branch to checkout.
|
||||||
default: 'main'
|
default: 'main'
|
||||||
|
current_version:
|
||||||
|
type: string
|
||||||
|
description: Current Version of the package.json.
|
||||||
|
default: '0.0.0'
|
||||||
secrets:
|
secrets:
|
||||||
DOCKERHUB_USER: {}
|
DOCKERHUB_USER: {}
|
||||||
DOCKERHUB_TOKEN: {}
|
DOCKERHUB_TOKEN: {}
|
||||||
|
|
@ -51,6 +55,7 @@ jobs:
|
||||||
else
|
else
|
||||||
echo "DOCKERHUB_TOKEN secret is set"
|
echo "DOCKERHUB_TOKEN secret is set"
|
||||||
fi
|
fi
|
||||||
|
echo "${{inputs.current_version}}"
|
||||||
build:
|
build:
|
||||||
needs: check-inputs
|
needs: check-inputs
|
||||||
if: needs.check-inputs.result == 'success' && inputs.workflow_type != 'release'
|
if: needs.check-inputs.result == 'success' && inputs.workflow_type != 'release'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue