diff --git a/.github/workflows/notify_on_strings_update.yml b/.github/workflows/notify_on_strings_update.yml deleted file mode 100644 index 967a9fed8c..0000000000 --- a/.github/workflows/notify_on_strings_update.yml +++ /dev/null @@ -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.' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 7270dccf07..0000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -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 }}' \ No newline at end of file diff --git a/.github/workflows/translation_notify.yml b/.github/workflows/translation_notify.yml new file mode 100644 index 0000000000..4f742ec39b --- /dev/null +++ b/.github/workflows/translation_notify.yml @@ -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.'