Skip to content

Commit 174677a

Browse files
committed
mod:deployment
1 parent 2856fd8 commit 174677a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/deploy.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ jobs:
2929
- name: Install dependencies
3030
run: npm install
3131

32-
# - name: Archive production artifacts
33-
# run: zip -r functionapp.zip . -x '*.git*'
34-
35-
# - name: Deploy to Azure Functions
36-
# uses: azure/functions-action@v1
37-
# with:
38-
# app-name: ${{ secrets.AZURE_FUNCTION_APP_NAME }}
39-
# package: functionapp.zip
40-
# publish-profile: ${{ secrets.AZURE_FUNCTION_PUBLISH_PROFILE }}
32+
- name: Archive production artifacts
33+
run: zip -r functionapp.zip . -x '*.git*'
4134

4235
- name: Deploy to Azure Functions
43-
run: func azure functionapp publish noob-functions
44-
env:
45-
AZURE_FUNCTIONAPP_NAME: ${{ secrets.AZURE_FUNCTION_APP_NAME }}
46-
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
36+
uses: azure/functions-action@v1
37+
with:
38+
app-name: ${{ secrets.AZURE_FUNCTION_APP_NAME }}
39+
package: functionapp.zip
40+
publish-profile: ${{ secrets.AZURE_CREDENTIALS }}
41+
42+
# - name: Deploy to Azure Functions
43+
# run: func azure functionapp publish noob-functions
44+
# env:
45+
# AZURE_FUNCTIONAPP_NAME: ${{ secrets.AZURE_FUNCTION_APP_NAME }}
46+
# AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}

0 commit comments

Comments
 (0)