diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f2a2faf..a647fba 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,6 +2,7 @@ name: CI/CD on: push: + workflow_dispatch: jobs: test: @@ -24,7 +25,7 @@ jobs: name: Деплой neon-bar86.ru runs-on: ubuntu-latest needs: test - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') steps: - uses: actions/checkout@v4