Skip to content

Commit

Permalink
Deploy with azure/webapps-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Nov 4, 2023
1 parent 1b84913 commit 93742a5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@
- name: Docker push
run: docker push ${{ secrets.DOCKER_USERNAME }}/az-appservice

- name: Login to Azure with Publishing Profile
run: |
mkdir ~/.azure
echo "${{ secrets.AZ_PROFILE }}" > ~/.azure/azure.pubxml
- name: Deploy to Azure Web App
run: az webapp restart --name akv-demo-go --resource-group akv-demo-1
uses: azure/webapps-deploy@v2
with:
app-name: akv-demo-go
publish-profile: ${{ secrets.AZ_PROFILE }}

0 comments on commit 93742a5

Please sign in to comment.