From 96b2119bf6c718a2e83981b103096961066f74cb Mon Sep 17 00:00:00 2001 From: Graham Odds Date: Thu, 31 Oct 2024 14:44:55 +0000 Subject: [PATCH] Update call-algolia-deployment-script.yml --- .github/workflows/call-algolia-deployment-script.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/call-algolia-deployment-script.yml b/.github/workflows/call-algolia-deployment-script.yml index 412ba22fd..f2e8794e0 100644 --- a/.github/workflows/call-algolia-deployment-script.yml +++ b/.github/workflows/call-algolia-deployment-script.yml @@ -57,8 +57,8 @@ jobs: BLOG_POSTS_DEPLOY_TO_ALGOLIA_ENDPOINT_PRODUCTION: ${{ secrets.BLOG_POSTS_DEPLOY_TO_ALGOLIA_ENDPOINT_PRODUCTION }} # Production endpoint BLOG_POSTS_DEPLOY_TO_ALGOLIA_ENDPOINT_DEVELOP: ${{ secrets.BLOG_POSTS_DEPLOY_TO_ALGOLIA_ENDPOINT_DEVELOP }} # Develop endpoint run: | - # Ensure 'gray-matter' and 'axios' are installed for front-matter parsing - npm install gray-matter axios + # Ensure 'gray-matter', 'axios' and 'dotenv' are installed for front-matter parsing + npm install gray-matter axios dotenv # Run the custom script, passing the list of files and extracting their metadata node ./send-blogs-to-deploy-endpoint.js "${{ steps.changes.outputs.new_files }}" "${{ steps.changes.outputs.modified_files }}" "${{ steps.changes.outputs.deleted_files }}"