Skip to content

Commit f0ab074

Browse files
committed
mod:deploymentRunner
1 parent a7e4e54 commit f0ab074

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/deploy.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ jobs:
2626
- name: Install dependencies
2727
run: npm install
2828

29+
# - name: Archive production artifacts
30+
# run: zip -r functionapp.zip . -x '*.git*'
31+
2932
- name: Archive production artifacts
30-
run: zip -r functionapp.zip . -x '*.git*'
33+
run: |
34+
# Ensure the ZIP command is excluding unnecessary files like `.git`
35+
powershell Compress-Archive -Path * -DestinationPath functionapp.zip -Force
3136
3237
- name: Deploy to Azure Functions
3338
uses: azure/functions-action@v1

0 commit comments

Comments
 (0)