fix gmail
This commit is contained in:
17
action.yml
17
action.yml
@@ -24,7 +24,6 @@ inputs:
|
|||||||
ntfy_username:
|
ntfy_username:
|
||||||
description: 'Ntfy Basic Auth Username'
|
description: 'Ntfy Basic Auth Username'
|
||||||
required: false
|
required: false
|
||||||
default: 'homesrv'
|
|
||||||
ntfy_password:
|
ntfy_password:
|
||||||
description: 'Ntfy Basic Auth Password'
|
description: 'Ntfy Basic Auth Password'
|
||||||
required: false
|
required: false
|
||||||
@@ -37,11 +36,9 @@ inputs:
|
|||||||
gmail_user:
|
gmail_user:
|
||||||
description: 'Gmail username (sender)'
|
description: 'Gmail username (sender)'
|
||||||
required: false
|
required: false
|
||||||
default: 'sitienbmt@gmail.com'
|
|
||||||
gmail_to:
|
gmail_to:
|
||||||
description: 'Email recipient'
|
description: 'Email recipient'
|
||||||
required: false
|
required: false
|
||||||
default: 'sitienbmt@gmail.com'
|
|
||||||
gmail_password:
|
gmail_password:
|
||||||
description: 'Gmail App Password'
|
description: 'Gmail App Password'
|
||||||
required: false
|
required: false
|
||||||
@@ -70,17 +67,17 @@ runs:
|
|||||||
# Ntfy
|
# Ntfy
|
||||||
NTFY_URL: ${{ inputs.ntfy_url || 'https://ntfy.hcmc.online' }}
|
NTFY_URL: ${{ inputs.ntfy_url || 'https://ntfy.hcmc.online' }}
|
||||||
NTFY_TOPIC: ${{ inputs.ntfy_topic || 'act_runner_deployment' }}
|
NTFY_TOPIC: ${{ inputs.ntfy_topic || 'act_runner_deployment' }}
|
||||||
NTFY_USERNAME: ${{ inputs.ntfy_username || 'homesrv' }}
|
NTFY_USERNAME: ${{ inputs.ntfy_username || env.NTFY_USERNAME }}
|
||||||
NTFY_PASSWORD: ${{ inputs.ntfy_password || secrets.NTFY_PASSWORD }}
|
NTFY_PASSWORD: ${{ inputs.ntfy_password || env.NTFY_PASSWORD }}
|
||||||
GIT_URL: ${{ inputs.server_url || 'https://git.hcmc.online' }}
|
GIT_URL: ${{ inputs.server_url || 'https://git.hcmc.online' }}
|
||||||
|
|
||||||
# Gmail
|
# Gmail
|
||||||
GMAIL_USER: ${{ inputs.gmail_user || 'sitienbmt@gmail.com' }}
|
GMAIL_USER: ${{ inputs.gmail_user || env.GMAIL_USER }}
|
||||||
GMAIL_TO: ${{ inputs.gmail_to || 'sitienbmt@gmail.com' }}
|
GMAIL_TO: ${{ inputs.gmail_to || 'tienngodev@proton.me' }}
|
||||||
GMAIL_PASS: ${{ inputs.gmail_password || secrets.GMAIL_APP_PASSWORD }}
|
GMAIL_PASS: ${{ inputs.gmail_password || env.GMAIL_PASSWORD }}
|
||||||
|
|
||||||
# Telegram
|
# Telegram
|
||||||
TELEGRAM_BOT_TOKEN: ${{ inputs.telegram_bot_token || secrets.TELEGRAM_BOT_TOKEN }}
|
TELEGRAM_BOT_TOKEN: ${{ inputs.telegram_bot_token || env.TELEGRAM_BOT_TOKEN }}
|
||||||
TELEGRAM_CHAT_ID: ${{ inputs.telegram_chat_id || secrets.TELEGRAM_CHAT_ID }}
|
TELEGRAM_CHAT_ID: ${{ inputs.telegram_chat_id || env.TELEGRAM_BOT_CHATID }}
|
||||||
run: |
|
run: |
|
||||||
bash ${{ github.action_path }}/notify.sh
|
bash ${{ github.action_path }}/notify.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user