diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f9c1d2..9639561 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,15 +15,7 @@ on: push: branches: [main] tags: ["v*"] - paths: - - "src/**" - - "agent/**" - - "prisma/**" - - "docker/**" - - "package.json" - - "pnpm-lock.yaml" - - "tsconfig.json" - - ".github/workflows/ci.yml" + workflow_dispatch: permissions: contents: write @@ -60,7 +52,7 @@ jobs: server-image: name: Server Image needs: check - if: github.event_name == 'push' + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -105,7 +97,7 @@ jobs: agent-image: name: Agent Image needs: check - if: github.event_name == 'push' + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -150,7 +142,7 @@ jobs: agent-dev-binaries: name: Agent Dev Binaries needs: check - if: github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/v') + if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && !startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest concurrency: group: dev-release