chore: remove pre-commit configuration and dependencies

This commit is contained in:
2025-08-12 12:48:09 +03:00
parent 503bbc17dd
commit 2b1c3c2569
2 changed files with 14 additions and 9 deletions

View File

@@ -26,11 +26,17 @@ jobs:
git_remote_url: 'ssh://dokku@v2.discours.io:22/discoursio-api' git_remote_url: 'ssh://dokku@v2.discours.io:22/discoursio-api'
ssh_private_key: ${{ secrets.PROD_PRIVATE_KEY }} ssh_private_key: ${{ secrets.PROD_PRIVATE_KEY }}
- name: Push to staging
if: github.ref == 'refs/heads/dev' - name: Push to dokku for main branch
uses: dokku/github-action@master if: github.ref == 'refs/heads/main'
with: run: |
branch: 'dev' # Настройка Git
git_remote_url: 'ssh://dokku@staging.discours.io:22/core' git config --global user.email "ci@dev.discours.io"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} git config --global user.name "CI Bot"
git_push_flags: '--force'
# Добавление удаленного репозитория Dokku
git remote add dokku ssh://dokku@staging.discours.io:22/core
# Push с отключением проверки хоста
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" \
git push -f dokku main --force

View File

@@ -4,6 +4,5 @@ pytest-asyncio
pytest-cov pytest-cov
mypy mypy
ruff ruff
pre-commit
playwright playwright
python-dotenv python-dotenv