Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Deploy PHP code to Azure App Service + sql DB

Param Ramanan May 24, 2023

Hi All

I am new to deployment.

I am struggling to get my pipeline working for a specific repository, the validation is not passing. 

below is my yml file content

- step:
name: Deploy Sommelier
deployment: production
Script:
- pipe: atlassian/azure-web-apps-deploy:1.1.0
variables:
AZURE_APP_ID: $AZURE_APP_ID
AZURE_PASSWORD: $AZURE_PASSWORD
AZURE_TENANT_ID: $AZURE_TENANT_ID
AZURE_RESOURCE_GROUP: 'Sommelier'
AZURE_APP_NAME: 'sommelier'

Not sure is I am anywhere even near to getting this working

any help is appreciated

Thanks Param

1 answer

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 25, 2023

@Param Ramanan  hi. Thanks for your question. 
Check the indentation and also change  Script -> script.
Example:

script:
  - pipe: atlassian/azure-web-apps-deploy:1.1.0
    variables:
      AZURE_APP_ID: $AZURE_APP_ID
      AZURE_PASSWORD: $AZURE_PASSWORD
      AZURE_TENANT_ID: $AZURE_TENANT_ID
      AZURE_RESOURCE_GROUP: $AZURE_RESOURCE_GROUP
      AZURE_APP_NAME: 'my-site'
      ZIP_FILE: 'my-package.zip'

 Regards, Igor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events