Skip to content

Commit

Permalink
Change azure blob storage (Mojang#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
BHellstream authored Oct 26, 2022
1 parent b411777 commit b0f5818
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .ado/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ pr: none

variables:
rConnection: 'mc-java-sc'
storageAccount: 'pistonprod'
storageAccount: 'librariesminecraftnet'
storageAccountContainer: 'librariesminecraftnet'
keyVault: 'mc-java-vault'

jobs:
Expand Down Expand Up @@ -73,7 +74,7 @@ jobs:
inputs:
azureSubscription: '$(rConnection)'
KeyVaultName: '$(keyVault)'
SecretsFilter: 'aws-access-key-id, aws-secret-access-key, pistonprod-access-key'
SecretsFilter: 'aws-access-key-id, aws-secret-access-key, access-key-prod-librariesminecraftnet'
RunAsPreJob: false

- task: S3Upload@1
Expand All @@ -92,4 +93,4 @@ jobs:
scriptType: 'bash'
scriptLocation: 'inlineScript'
inlineScript: |
az storage blob upload-batch -s '$(Pipeline.Workspace)/repo' -d libraries --account-name $(storageAccount) --account-key $(pistonprod-access-key)
az storage blob upload-batch -s '$(Pipeline.Workspace)/repo' -d $(storageAccountContainer) --account-name $(storageAccount) --account-key $(access-key-prod-librariesminecraftnet)

0 comments on commit b0f5818

Please sign in to comment.