Skip to content

Commit

Permalink
ci: Update function-app-deploy.yml to retrieve the build zip asset fr…
Browse files Browse the repository at this point in the history
…om the release (#22)
  • Loading branch information
killij authored Jan 15, 2024
1 parent 1ed3336 commit 024e848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/function-app-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
creds: '{"clientId":"${{ secrets.FAD_CLIENT_ID }}","clientSecret":"${{ secrets.FAD_CLIENT_SECRET }}","subscriptionId":"${{ secrets.FAD_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.FAD_TENANT_ID }}"}'

- name: Fetch release
run: wget https://github.com/${{ github.repository }}/archive/refs/tags/${{ inputs.tag }}.zip
run: wget https://github.com/${{ github.repository }}/releases/download/${{ inputs.tag }}/${{ inputs.tag }}.build.zip

- name: Deploy Function App
run: az functionapp deployment source config-zip --name ${{ vars.FAD_FUNCTION_APP_NAME }} --resource-group ${{ vars.FAD_RESOURCE_GROUP }} --src ${{ inputs.tag }}.zip

0 comments on commit 024e848

Please sign in to comment.