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:
appleboy
2024-09-06 19:19:14 +08:00
parent a77dd3e42f
commit 65a1d3c2f9
+4 -5
View File
@@ -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: ./