diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3c5cbbc..593dd13 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,13 +5,19 @@ concurrency: cancel-in-progress: true on: - push: - branches: [main] + workflow_run: + workflows: ["CI"] + types: + - completed + branches: + - main + jobs: deploy: name: Deploy runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Checkout code