From 05bfcbc8063da63b77f2368c53a0bc20bc3c2050 Mon Sep 17 00:00:00 2001 From: sangeet-joy_xero Date: Wed, 16 Oct 2024 14:32:39 +0530 Subject: [PATCH] adjusted the path --- .github/workflows/publish.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 82a3ac5f..fe838f97 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -43,6 +43,12 @@ jobs: needs: publish if: success() steps: + - name: Checkout xero-node repo + uses: actions/checkout@v4 + with: + repository: XeroAPI/xero-node + path: xero-node + - name: Send slack notification on success uses: ./xero-node/.github/actions/notify-slack with: @@ -54,7 +60,13 @@ jobs: needs: publish if: failure() steps: - - name: Send slack notification + - name: Checkout xero-node repo + uses: actions/checkout@v4 + with: + repository: XeroAPI/xero-node + path: xero-node + + - name: Send slack notification on failure uses: ./xero-node/.github/actions/notify-slack with: heading_text: "Publish job has failed, Please check the logs"