From 04f61cdf5e3c6e57020c97ee59695a27e41ee1f2 Mon Sep 17 00:00:00 2001 From: appflowy Date: Thu, 10 Feb 2022 15:06:36 +0800 Subject: [PATCH 1/3] ci: update discord web hook --- .github/workflows/notify_on_strings_update.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/notify_on_strings_update.yml b/.github/workflows/notify_on_strings_update.yml index 967a9fed8c..4f742ec39b 100644 --- a/.github/workflows/notify_on_strings_update.yml +++ b/.github/workflows/notify_on_strings_update.yml @@ -1,14 +1,15 @@ name: Strings update on: push: - branches: main + 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.' + 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.' From fa57de5419f385db8904e5cfc486339f56c5611a Mon Sep 17 00:00:00 2001 From: appflowy Date: Thu, 10 Feb 2022 15:16:21 +0800 Subject: [PATCH 2/3] ci: update hook file name --- .../{notify_on_strings_update.yml => translation_notify.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{notify_on_strings_update.yml => translation_notify.yml} (100%) diff --git a/.github/workflows/notify_on_strings_update.yml b/.github/workflows/translation_notify.yml similarity index 100% rename from .github/workflows/notify_on_strings_update.yml rename to .github/workflows/translation_notify.yml From bbbf3006c97a7c1dad272dbdd1f6a33aa6569fe9 Mon Sep 17 00:00:00 2001 From: appflowy Date: Thu, 10 Feb 2022 15:16:37 +0800 Subject: [PATCH 3/3] ci: remove release hook --- .github/workflows/release.yml | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 .github/workflows/release.yml 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