mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-10-12 14:10:42 +09:00
style: refactor CI configuration for consistency and clarity
- Update quotes from single to double in the CI configuration file - Remove an empty line in the jobs section - Adjust formatting for the photo and document paths Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
name: telegram message
|
||||
on: [push]
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
@@ -39,16 +38,16 @@ jobs:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
message: send photo message
|
||||
photo: './tests/github.png'
|
||||
document: './tests/gophercolor.png'
|
||||
photo: "./tests/github.png"
|
||||
document: "./tests/gophercolor.png"
|
||||
|
||||
- name: send location message
|
||||
uses: ./
|
||||
with:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
location: '24.9163213 121.1424972'
|
||||
venue: '35.661777 139.704051 竹北體育館 新竹縣竹北市'
|
||||
location: "24.9163213 121.1424972"
|
||||
venue: "35.661777 139.704051 竹北體育館 新竹縣竹北市"
|
||||
|
||||
- name: send custom message
|
||||
uses: ./
|
||||
|
||||
Reference in New Issue
Block a user