azcopy - Switch hash comparison from timestamp (#8218)

* Switch from timestamp to hash comparison

* Switch flag placement

* Add a value to the --compare-hash option

* Setting compare-hash to a string value

* undo debug default
This commit is contained in:
Joseph Flinn 2024-03-06 07:22:37 -08:00 committed by GitHub
parent 450b5b6e8c
commit 06993594cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ jobs:
AZCOPY_TENANT_ID: ${{ steps.retrieve-secrets-azcopy.outputs.sp-bitwarden-web-vault-tenant }}
run: |
azcopy sync ./build 'https://${{ steps.retrieve-secrets-azcopy.outputs.sa-bitwarden-web-vault-name }}.blob.core.windows.net/$web/' \
--delete-destination=${{ needs.setup.outputs.sync-delete-destination-files }}
--delete-destination=${{ needs.setup.outputs.sync-delete-destination-files }} --compare-hash="MD5"
- name: Debug sync logs
if: ${{ inputs.debug }}