Skip to content

Commit

Permalink
Update to use github.repository for repo org/name
Browse files Browse the repository at this point in the history
  • Loading branch information
albal authored Jan 9, 2024
1 parent a86fa2e commit 5c41b90
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/${{ repository.name }}/archive/refs/tags/${{ inputs.tag }}.zip
run: wget https://github.com/${{ github.repository }}/archive/refs/tags/${{ inputs.tag }}.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 5c41b90

Please sign in to comment.