Skip to content

Commit 12af987

Browse files
committed
test: deploy using self-hosted runner
1 parent b38eef0 commit 12af987

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/az_fnapp_deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ on:
66
jobs:
77
az-fnapp-deploy:
88
name: "Azure: Build & Deploy Function App"
9-
runs-on: ubuntu-latest
9+
runs-on: [self-hosted, dev]
1010
environment: dev
1111
env:
1212
AZURE_FUNCTIONAPP_NAME: ${{ vars.AZURE_FUNCTIONAPP_NAME }}
1313
AZURE_FUNCTIONAPP_PACKAGE_PATH: ${{ vars.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
14+
AZURE_FUNCTIONAPP_PUBLISH_PROFILE: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}
1415
PYTHON_VERSION: ${{ vars.PYTHON_VERSION }}
1516
steps:
1617
- name: Checkout repository
@@ -36,6 +37,6 @@ jobs:
3637
with:
3738
app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}
3839
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
39-
publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}
40+
publish-profile: ${{ env.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}
4041
scm-do-build-during-deployment: true
4142
enable-oryx-build: true

0 commit comments

Comments
 (0)