https://github.com/louis70109/line-notify-action
LINE Notify with GitHub Actions
https://github.com/louis70109/line-notify-action
github github-actions line line-notify
Last synced: about 2 months ago
JSON representation
LINE Notify with GitHub Actions
- Host: GitHub
- URL: https://github.com/louis70109/line-notify-action
- Owner: louis70109
- License: mit
- Created: 2021-02-15T17:11:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T01:56:54.000Z (over 3 years ago)
- Last Synced: 2025-04-14T11:06:35.929Z (about 2 months ago)
- Topics: github, github-actions, line, line-notify
- Language: Python
- Homepage: https://github.com/louis70109/line-notify-action
- Size: 509 KB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Actions - LINE Notify
[](https://github.com/louis70109/line-notify-action/actions)
The [line-notify-action](https://github.com/marketplace/actions/line-notify-actions) can send notification messages with LINE by GitHub Action.
Let's get started it!

# Usage
## Text message
```yaml
- name: send default message
uses: louis70109/line-notify-action@master
with:
token: ${{ secrets.LINE_NOTIFY_TOKEN }}
message: 'LINE Notify test message'
```## Text message and Sticker
```yaml
- name: send message with sticker
uses: louis70109/line-notify-action@master
with:
token: ${{ secrets.LINE_NOTIFY_TOKEN }}
sticker_id: 1
package_id: 1
```## Text message and Image (by URL)
```yaml
- name: send message with image url
uses: louis70109/line-notify-action@master
with:
token: ${{ secrets.LINE_NOTIFY_TOKEN }}
message: |
${{github.repository}} send image test.
image_url: 'https://raw.githubusercontent.com/louis70109/line-notify-action/master/tests/image1.png'
```## Text message and Image (by local file)
```yaml
- name: send message with image file
uses: louis70109/line-notify-action@master
with:
token: ${{ secrets.LINE_NOTIFY_TOKEN }}
message: |
${{github.repository}} send image file.
image_file: tests/sally.png
```## Get LINE Notify access_token
- You can refer the [Flask-LINE-notify](https://github.com/louis70109/flask-line-notify) repository One-Click-Deployment to create your testing website on Heroku.
- Will see the `access_token` when you binding LINE Notify.
- Copy `access_token` into GitHub repository ➡️ Secrets ➡️ `LINE_NOTIFY_TOKEN` environment property.
- Then copy the following yaml into your workflow.```yaml
- name: LINE Notify Message
uses: louis70109/[email protected]
```# License
MIT