Skip to content

Commit

Permalink
ci: Add CI/CD workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewscwei committed Sep 19, 2024
1 parent 526c1a2 commit 03975cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
deploy-path: build
notify:
name: Notify
needs: [build, deploy]
needs: [build]
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- uses: andrewscwei/telegram-action@v1
with:
success: ${{ needs.build.result == 'success' && needs.deploy.result == 'success' }}
cancelled: ${{ needs.build.result == 'cancelled' || needs.deploy.result == 'cancelled' }}
success: ${{ needs.build.result == 'success' }}
cancelled: ${{ needs.build.result == 'cancelled' }}
bot-token: ${{ secrets.TELEGRAM_DEVOPS_BOT_TOKEN }}
chat-id: ${{ secrets.TELEGRAM_DEVOPS_CHAT_ID }}

0 comments on commit 03975cf

Please sign in to comment.