name: "Deploy Notification" description: "Notify deployment result via ntfy, Gmail SMTP, and Telegram" inputs: status: required: true title: required: true message: required: true runs: using: "composite" steps: - name: Send notification shell: bash env: STATUS: ${{ inputs.status }} TITLE: ${{ inputs.title }} MESSAGE: ${{ inputs.message }} NTFY_URL: "https://ntfy.hcmc.online" NTFY_TOPIC: "deploy" GMAIL_USER: "sitienbmt@gmail.com" GMAIL_TO: "sitienbmt@gmail.com" GMAIL_PASS: ${{ secrets.GMAIL_APP_PASSWORD }} TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} run: | bash ${{ github.action_path }}/notify.sh