push version #8
1 changed files with 9 additions and 0 deletions
9
.github/workflows/web-deploy-nonprod.yml
vendored
9
.github/workflows/web-deploy-nonprod.yml
vendored
|
|
@ -15,6 +15,15 @@ on:
|
||||||
description: An optional string to define which branch to checkout.
|
description: An optional string to define which branch to checkout.
|
||||||
default: 'main'
|
default: 'main'
|
||||||
jobs:
|
jobs:
|
||||||
|
check-inputs:
|
||||||
|
runs-on: 'ubuntu-latest'
|
||||||
|
environment: ${{ inputs.environments }}
|
||||||
|
steps:
|
||||||
|
- name: Check secrets present
|
||||||
|
run: |
|
||||||
|
echo "User is set: ${{ secrets.DOCKERHUB_USER != '' }}"
|
||||||
|
echo "Token is set: ${{ secrets.DOCKERHUB_TOKEN != '' }}"
|
||||||
|
echo "Environment: ${{ inputs.environments }}"
|
||||||
build:
|
build:
|
||||||
if: inputs.workflow_type != 'release'
|
if: inputs.workflow_type != 'release'
|
||||||
environment: ${{ inputs.environments }}
|
environment: ${{ inputs.environments }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue