diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6ce1572..afb4d95 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,13 +5,15 @@ name: Deploy on: - push: - branches: - - master + workflow_run: + workflows: Check + branches: master + types: completed jobs: deploy: name: Deploy + if: github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -34,6 +36,7 @@ jobs: docs: name: Publish docs + if: github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-latest permissions: contents: read