Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/deploy-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,14 @@ jobs:
# Install only production dependencies inside deploy/
# This creates deploy/node_modules ready for Azure runtime
cd deploy
npm install --omit=dev --ignore-scripts --install-links
npm install --omit=dev --ignore-scripts

# Replace symlinks with real copies so the deploy zip is self-contained
find node_modules -type l | while read link; do
target=$(readlink -f "$link")
rm "$link"
cp -R "$target" "$link"
done

# Deploy the prepared folder to Azure Functions
- name: Deploy to Azure Functions
Expand Down