diff --git a/.github/workflows/sp-deployment-pipeline.yml b/.github/workflows/sp-deployment-pipeline.yml index ed030a04..ece1cc84 100644 --- a/.github/workflows/sp-deployment-pipeline.yml +++ b/.github/workflows/sp-deployment-pipeline.yml @@ -16,7 +16,7 @@ env: jobs: deploy: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} + if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} permissions: id-token: write contents: read