mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Merge pull request #320 from AppFlowy-IO/discord_web_hook
ci: update discord web hook
This commit is contained in:
commit
6d4335ae04
14
.github/workflows/notify_on_strings_update.yml
vendored
14
.github/workflows/notify_on_strings_update.yml
vendored
@ -1,14 +0,0 @@
|
||||
name: Strings update
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
paths:
|
||||
- "frontend/app_flowy/assets/translations/en.json"
|
||||
jobs:
|
||||
# some way to send notification
|
||||
- name: Notify in Discord
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
with:
|
||||
args: '@appflowytranslators English UI strings has been updated.'
|
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -1,11 +0,0 @@
|
||||
name: Release landed
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
jobs:
|
||||
- name: Notify in Discord
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
with:
|
||||
args: '${{ github.event.tag_name }} is out 🚀 ${{ github.event.url }}\n${{ github.event.body }}'
|
15
.github/workflows/translation_notify.yml
vendored
Normal file
15
.github/workflows/translation_notify.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: Strings update
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- "frontend/app_flowy/assets/translations/en.json"
|
||||
jobs:
|
||||
Discord-Notify:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: Ilshidur/action-discord@master
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
with:
|
||||
args: '@appflowytranslators English UI strings has been updated.'
|
Loading…
Reference in New Issue
Block a user