From 03975cfa2cd4397a25dfc6787e6ecff325b33e1c Mon Sep 17 00:00:00 2001 From: Andrew Wei Date: Thu, 19 Sep 2024 15:44:05 +0800 Subject: [PATCH] ci: Add CI/CD workflows --- .github/workflows/cd.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index bad8143..b6c06f5 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -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 }}