Compare commits

...

3 Commits

Author SHA1 Message Date
a4e34efb76 ci: убрать lint из needs deploy-job
Some checks failed
CI / Lint (pull_request) Failing after 41s
CI / Build (pull_request) Successful in 1m33s
CI / Secret scan (pull_request) Successful in 2m33s
CI / PR size check (pull_request) Successful in 6s
CI / Deploy to S1 + S2 (pull_request) Has been skipped
Deploy зависит от lint через needs:, поэтому при failure
lint (исторический долг empty-блоков) deploy не запускается ВООБЩЕ
(висит pending бесконечно).

Lint опциональный — не в branch protection required-checks.
Deploy должен зависеть только от Build + Secret-scan.
2026-05-29 04:16:40 +03:00
18618f734b Merge branch 'main' of https://git.rublox.pro/rublox/player into chore/ci-deploy-to-s1-s2 2026-05-29 04:16:39 +03:00
f2938ee072 ci: add auto-deploy to S1+S2 via rsync after merge (#3)
Some checks failed
CI / Lint (push) Failing after 41s
CI / Build (push) Successful in 1m41s
CI / Secret scan (push) Successful in 2m29s
CI / PR size check (push) Has been skipped
CI / Deploy to S1 + S2 (push) Has been skipped
Co-authored-by: МИН <maksimivankov26@yandex.ru>
Co-committed-by: МИН <maksimivankov26@yandex.ru>
2026-05-29 01:10:04 +00:00

View File

@ -106,7 +106,10 @@ jobs:
deploy:
name: Deploy to S1 + S2
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [lint, build, secret-scan]
# Lint НЕ в needs — он опциональный (исторический долг empty-блоков
# ещё не вычищен, см. branch protection без 'CI / Lint' в required).
# Deploy всё равно зависит от Build и Secret-scan — это критично.
needs: [build, secret-scan]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3