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.
|
||||
default: 'main'
|
||||
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:
|
||||
if: inputs.workflow_type != 'release'
|
||||
environment: ${{ inputs.environments }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue