Update podcast-web.yml

pull/10/head
Nish Anil 2021-12-08 22:33:48 +05:30 committed by GitHub
parent 554eae1dda
commit fcf22c743a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ jobs:
needs: build
environment:
name: prod
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -120,4 +120,4 @@ jobs:
uses: Azure/webapps-deploy@v2
with:
app-name: ${{ secrets.WEBAPP_NAME }}
package: web
package: web