feat: Add default values for Ntfy, Git URL, and Gmail configuration inputs

This commit is contained in:
2025-12-29 16:38:07 +07:00
parent b87291aa21
commit 72836873c7

View File

@@ -60,15 +60,15 @@ runs:
MESSAGE: ${{ inputs.message }}
# Ntfy
NTFY_URL: ${{ inputs.ntfy_url }}
NTFY_TOPIC: ${{ inputs.ntfy_topic }}
NTFY_USERNAME: ${{ inputs.ntfy_username }}
NTFY_URL: ${{ inputs.ntfy_url || 'https://ntfy.hcmc.online' }}
NTFY_TOPIC: ${{ inputs.ntfy_topic || 'act_runner_deployment' }}
NTFY_USERNAME: ${{ inputs.ntfy_username || 'homesrv' }}
NTFY_PASSWORD: ${{ inputs.ntfy_password || secrets.NTFY_PASSWORD }}
GIT_URL: ${{ inputs.server_url }}
GIT_URL: ${{ inputs.server_url || 'https://git.hcmc.online' }}
# Gmail
GMAIL_USER: ${{ inputs.gmail_user }}
GMAIL_TO: ${{ inputs.gmail_to }}
GMAIL_USER: ${{ inputs.gmail_user || 'sitienbmt@gmail.com' }}
GMAIL_TO: ${{ inputs.gmail_to || 'sitienbmt@gmail.com' }}
GMAIL_PASS: ${{ inputs.gmail_password || secrets.GMAIL_APP_PASSWORD }}
# Telegram