Skip to content

Commit

Permalink
Updated migration action to use file upload instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceredron committed Feb 5, 2025
1 parent 77bde35 commit c071cf6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/migrate-database/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ runs:
uses: azure/CLI@v2
with:
azcliversion: 2.56.0
inlineScript: |
az storage copy --source ./src/Altinn.Broker.Persistence/Migrations --destination https://${{ inputs.AZURE_MIGRATION_STORAGE_ACCOUNT_NAME }}.file.core.windows.net/migrations --recursive
inlineScript: |e
az storage file upload --share-name migrations --account-name ${{ inputs.AZURE_STORAGE_ACCOUNT_NAME }} \
--source ./src/Altinn.Broker.Persistence/Migrations
- name: Start migration job
uses: azure/CLI@v2
Expand Down

0 comments on commit c071cf6

Please sign in to comment.