diff --git a/.github/workflows/release-code-push.yaml b/.github/workflows/release-code-push.yaml index dff383102..5150af667 100644 --- a/.github/workflows/release-code-push.yaml +++ b/.github/workflows/release-code-push.yaml @@ -70,19 +70,19 @@ jobs: yarn code-push-android --token ${{ secrets.CODEPUSH_TOKEN }} --description "${{ github.event.head_commit.message }}" yarn code-push-ios --token ${{ secrets.CODEPUSH_TOKEN }} --description "${{ github.event.head_commit.message }}" - # - name: Send discord message - # uses: appleboy/discord-action@master - # with: - # webhook_id: ${{ secrets.DISCORD_MOBILE_WEBHOOK_ID }} - # webhook_token: ${{ secrets.DISCORD_MOBILE_WEBHOOK_TOKEN }} - # username: "GitBot" - # message: Code pushed success! Comment=${{ github.event.head_commit.message }} + - name: Send discord message + uses: appleboy/discord-action@master + with: + webhook_id: ${{ secrets.DISCORD_MOBILE_WEBHOOK_ID }} + webhook_token: ${{ secrets.DISCORD_MOBILE_WEBHOOK_TOKEN }} + username: "GitBot" + message: Code pushed success! Comment=${{ github.event.head_commit.message }} - # - name: Send discord message - # if: ${{ failure() }} - # uses: appleboy/discord-action@master - # with: - # webhook_id: ${{ secrets.DISCORD_MOBILE_WEBHOOK_ID }} - # webhook_token: ${{ secrets.DISCORD_MOBILE_WEBHOOK_TOKEN }} - # username: "GitBot" - # message: Code pushed fail ${{ github.job }} job in worflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }} + - name: Send discord message + if: ${{ failure() }} + uses: appleboy/discord-action@master + with: + webhook_id: ${{ secrets.DISCORD_MOBILE_WEBHOOK_ID }} + webhook_token: ${{ secrets.DISCORD_MOBILE_WEBHOOK_TOKEN }} + username: "GitBot" + message: Code pushed fail ${{ github.job }} job in worflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }} diff --git a/.github/workflows/release-extension.yaml b/.github/workflows/release-extension.yaml index 9cdb54f44..f45fce7d5 100644 --- a/.github/workflows/release-extension.yaml +++ b/.github/workflows/release-extension.yaml @@ -47,7 +47,7 @@ jobs: working-directory: apps/extension run: yarn --silent - - name: Build Libs + - name: Build Libs Codepush run: yarn build:codepush - name: Build @owallet/hooks @@ -79,19 +79,19 @@ jobs: refresh-token: ${{ secrets.EXT_REFRESH_TOKEN }} publish: false - - name: Send discord message - uses: appleboy/discord-action@master - with: - webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} - webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} - username: "GitBot" - message: Extension released successe! comment=${{ github.event.head_commit.message }} + # - name: Send discord message + # uses: appleboy/discord-action@master + # with: + # webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} + # webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} + # username: "GitBot" + # message: Extension released successe! comment=${{ github.event.head_commit.message }} - - name: Send discord message - if: ${{ failure() }} - uses: appleboy/discord-action@master - with: - webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} - webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} - username: "GitBot" - message: Extension released fail! ${{ github.job }} job in worflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }} + # - name: Send discord message + # if: ${{ failure() }} + # uses: appleboy/discord-action@master + # with: + # webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} + # webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} + # username: "GitBot" + # message: Extension released fail! ${{ github.job }} job in worflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }}