Skip to content

Commit 4afd57d

Browse files
authored
Merge pull request #26 from ioet/testing12
testing deployment12
2 parents 0ec6d04 + 2d43aff commit 4afd57d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/CD-azure-functions.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
AZURE_FUNCTIONAPP_NAME: AutomaticClockOuts # set this to your application's name
12-
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
12+
AZURE_FUNCTIONAPP_PACKAGE_PATH: '../AutomaticClockOuts' # set this to the path to your web app project, defaults to the repository root
1313

1414
jobs:
1515
build-and-deploy:
@@ -21,9 +21,12 @@ jobs:
2121
node-version: '10.x'
2222
- name: 'run npm'
2323
run: |
24+
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
2425
npm install
2526
npm run build --if-present
26-
- uses: Azure/functions-action@v1
27+
popd
28+
- name: 'Run Azure Functions Action'
29+
uses: Azure/functions-action@v1
2730
id: fa
2831
with:
2932
app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}

0 commit comments

Comments
 (0)