Skip to content

Commit

Permalink
Update call-algolia-deployment-script.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
godds authored Oct 31, 2024
1 parent c26e13a commit 96b2119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/call-algolia-deployment-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit 96b2119

Please sign in to comment.