mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-10-11 13:40:43 +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
|
name: telegram message
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -39,16 +38,16 @@ jobs:
|
|||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
message: send photo message
|
message: send photo message
|
||||||
photo: './tests/github.png'
|
photo: "./tests/github.png"
|
||||||
document: './tests/gophercolor.png'
|
document: "./tests/gophercolor.png"
|
||||||
|
|
||||||
- name: send location message
|
- name: send location message
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
location: '24.9163213 121.1424972'
|
location: "24.9163213 121.1424972"
|
||||||
venue: '35.661777 139.704051 竹北體育館 新竹縣竹北市'
|
venue: "35.661777 139.704051 竹北體育館 新竹縣竹北市"
|
||||||
|
|
||||||
- name: send custom message
|
- name: send custom message
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|||||||
Reference in New Issue
Block a user