Skip to content

Commit

Permalink
CI: fix the deployment to the staging environment
Browse files Browse the repository at this point in the history
Specify a slot name when deploying to the staging to resolve "Publish profile is invalid" error.
  • Loading branch information
mykolaskrynnyk authored Nov 1, 2024
1 parent 9f81799 commit c71ae3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/azure-webapps-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:
if: github.ref == 'refs/heads/dev'
uses: azure/webapps-deploy@v2
with:
app-name: 'ftss-api-dev'
app-name: 'ftss-api'
slot-name: 'dev'
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_DEV }}

- name: 'Deploy to Azure Web App - Production'
Expand Down

0 comments on commit c71ae3a

Please sign in to comment.