From c5d32eae2be4cbe4a71285e763bcbd6511fd3f30 Mon Sep 17 00:00:00 2001 From: Nafis Zaman Date: Thu, 15 Aug 2024 23:39:07 -0700 Subject: [PATCH] Add cd step to deploy function --- .github/workflows/cd.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ebd8f76..7d1a349 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -51,12 +51,14 @@ jobs: - name: Build run: npm run build working-directory: checkout-prefix - - name: Output directory - run: ls - - name: Output checkout directory - run: ls checkout-prefix - # - name: Deploy functions - # run: npm run deploy - # - name: Output firebase debug log - # if: always() - # run: cat firebase-debug.log \ No newline at end of file + # - name: Output directory + # run: ls + # - name: Output checkout directory + # run: ls checkout-prefix + - name: Deploy functions + run: npm run deploy + working-directory: checkout-prefix + - name: Output firebase debug log + if: always() + run: cat firebase-debug.log + working-directory: checkout-prefix \ No newline at end of file