Skip to content

Commit

Permalink
update cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
marxeille committed Jan 22, 2025
1 parent 984a864 commit 2c16c00
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release-code-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
32 changes: 16 additions & 16 deletions .github/workflows/release-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

0 comments on commit 2c16c00

Please sign in to comment.