Update podcast-web.yml
parent
554eae1dda
commit
fcf22c743a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue