Skip to content

Commit

Permalink
Change upload to run command
Browse files Browse the repository at this point in the history
  • Loading branch information
ralongit committed Sep 11, 2024
1 parent ce2a4b0 commit d35e0d0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/upload-azure-function-zip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ jobs:
run: ls -la

- name: Upload 'logzio_function' zip file to Azure storage
uses: azure/CLI@v2
with:
inlineScript: |
az storage blob upload --account-name logzioblobtrigger --account-key ${{ secrets.STORAGE_ACCOUNT_KEY }} --container-name eventhub --name logzio_function-${{ github.event.release.tag_name }}.zip --file logzio_function.zip
run: |
az storage blob upload \
--account-name logzioblobtrigger \
--account-key ${{ secrets.STORAGE_ACCOUNT_KEY }} \
--container-name eventhub \
--name logzio_function-${{ github.event.release.tag_name }}.zip \
--file logzio_function.zip

0 comments on commit d35e0d0

Please sign in to comment.