Update web-deploy-nonprod.yml

This commit is contained in:
Matt DiMeglio 2025-06-11 15:46:27 -04:00 committed by GitHub
parent c501175bfb
commit 1329835057
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,9 +27,30 @@ jobs:
steps:
- name: Check secrets present
run: |
echo "User is set: ${{ secrets.DOCKERHUB_USER != '' }}"
echo "Token is set: ${{ secrets.DOCKERHUB_TOKEN != '' }}"
echo "Environment: ${{ inputs.environments }}"
if [[ -z "${{ secrets.COOLIFY_WEBHOOK }}" ]]; then
echo "COOLIFY_WEBHOOK secret is empty or missing"
exit 1
else
echo "COOLIFY_WEBHOOK secret is set"
fi
if [[ -z "${{ secrets.COOLIFY_TOKEN }}" ]]; then
echo "COOLIFY_TOKEN secret is empty or missing"
exit 1
else
echo "COOLIFY_TOKEN secret is set"
fi
if [[ -z "${{ secrets.DOCKERHUB_USER }}" ]]; then
echo "DOCKERHUB_USER secret is empty or missing"
exit 1
else
echo "DOCKERHUB_USER secret is set"
fi
if [[ -z "${{ secrets.DOCKERHUB_TOKEN }}" ]]; then
echo "DOCKERHUB_TOKEN secret is empty or missing"
exit 1
else
echo "DOCKERHUB_TOKEN secret is set"
fi
build:
if: inputs.workflow_type != 'release'
environment: ${{ inputs.environments }}