-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Remove Firebase message feature
- Loading branch information
Showing
5 changed files
with
28 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,17 @@ | ||
# Notify Workflow | ||
|
||
A GitHub Action to send workflow status over a Telegram bot and Firebase. | ||
A GitHub Action to send the GitHub Action workflow status over a Telegram bot. | ||
|
||
Usage | ||
------- | ||
Here is an example how to use this action: | ||
## Usage | ||
|
||
```yaml | ||
- name: Notify workflow status | ||
uses: yakuhzi/notify-workflow@v2 | ||
if: always() | ||
with: | ||
chat_id: ${{ secrets.CHAT_ID }} | ||
bot_token: ${{ secrets.BOT_TOKEN }} | ||
job_status: ${{ job.status }} | ||
``` | ||
Here is an example how to use this action: | ||
|
||
If you also want to send a Firebase message: | ||
```yaml | ||
- name: Notify workflow status | ||
uses: yakuhzi/notify-workflow@v2 | ||
uses: yakuhzi/notify-workflow@v3 | ||
if: always() | ||
with: | ||
chat_id: ${{ secrets.CHAT_ID }} | ||
bot_token: ${{ secrets.BOT_TOKEN }} | ||
firebase_server_key: ${{ secrets.FIREBASE_SERVER_KEY }} | ||
firebase_topic: ${{ secrets.FIREBASE_TOPIC }} | ||
app_name: ${{ secrets.APP_NAME }} | ||
job_status: ${{ job.status }} | ||
``` | ||
job-status: ${{ job.status }} | ||
bot-token: ${{ secrets.BOT_TOKEN }} | ||
chat-id: ${{ secrets.CHAT_ID }} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters