You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm trying to deploying my frontend with sas uri thorugh biceps, before I've used storage account but now I've migrated to static web app but I can't complete my flow
I'm trying to do something similiar to this:
`
var scriptContentToUploadFrontend = format('''
curl -o frontend.zip "{0}"
mkdir -p ./frontend
unzip -o frontend.zip -d ./frontend
az storage blob upload-batch -s ./frontend -d '$web' --account-name "{1}" --auth-mode login
''', frontendZipSasUri, storageAccountName)
its only possible with swa cli but I can't run nodejs scripts in azure deployment scripts. Describe the solution you'd like
Deploy with az cli or some way to deploy thorugh biceps
Describe alternatives you've considered
We can't use repo publish as we publish thorugh EV2 and we need the complete deployment to be thorugh biceps/arms.
Additional context
None
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm trying to deploying my frontend with sas uri thorugh biceps, before I've used storage account but now I've migrated to static web app but I can't complete my flow
I'm trying to do something similiar to this:
`
var scriptContentToUploadFrontend = format('''
curl -o frontend.zip "{0}"
mkdir -p ./frontend
unzip -o frontend.zip -d ./frontend
az storage blob upload-batch -s ./frontend -d '$web' --account-name "{1}" --auth-mode login
''', frontendZipSasUri, storageAccountName)
resource uploadFrontendScript 'Microsoft.Resources/deploymentScripts@2020-10-01' = if (!empty(frontendZipSasUri)) {
name: 'deployFrontend'
location: resourceGroup().location
kind: 'AzureCLI'
identity: {
type: 'UserAssigned'
userAssignedIdentities: {
'${identityResourceId}': {}
}
}
properties: {
azCliVersion: '2.9.1'
timeout: 'PT30M'
cleanupPreference: 'OnSuccess'
retentionInterval: 'P1D'
scriptContent: scriptContentToUploadFrontend
}
dependsOn: [
enableAzureStaticWebsiteScript
]
}
`
its only possible with swa cli but I can't run nodejs scripts in azure deployment scripts.
Describe the solution you'd like
Deploy with az cli or some way to deploy thorugh biceps
Describe alternatives you've considered
We can't use repo publish as we publish thorugh EV2 and we need the complete deployment to be thorugh biceps/arms.
Additional context
None
The text was updated successfully, but these errors were encountered: