Skip to content

Instantly share code, notes, and snippets.

@gbohra
Created January 2, 2020 10:30
Show Gist options
  • Save gbohra/c10ce7701e4fcdb2ac708a10727a870d to your computer and use it in GitHub Desktop.
Save gbohra/c10ce7701e4fcdb2ac708a10727a870d to your computer and use it in GitHub Desktop.
- name: Azure CLI script to create a new Web App for Container
uses: azure/CLI@v2
with:
azcliversion: latest
inlineScript: |
az account show
az webapp deployment slot create --debug --resource-group ${{ env.AZURE_RESOURCE_GROUP }} --name ${{ env.AZURE_WEBAPP_NAME }} --slot ${{ env.GITHUB_HEAD_REF }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment