ci: убрать lint из needs deploy-job #5

Merged
min merged 4 commits from fix/ci-deploy-needs-no-lint into main 2026-05-29 04:26:57 +00:00
Owner

Deploy зависит от lint через needs:, поэтому при failure lint deploy не запускается. Lint опциональный — Deploy должен зависеть только от Build + Secret-scan.

Deploy зависит от lint через needs:, поэтому при failure lint deploy не запускается. Lint опциональный — Deploy должен зависеть только от Build + Secret-scan.
min added 4 commits 2026-05-29 01:17:23 +00:00
ci: add auto-deploy to S1+S2 via rsync after merge to main
Some checks failed
CI / Secret scan (pull_request) Successful in 2m26s
CI / PR size check (pull_request) Successful in 5s
CI / Lint (pull_request) Failing after 41s
CI / Build (pull_request) Successful in 1m33s
CI / Deploy to S1 + S2 (pull_request) Has been skipped
63b3472b82
Adds new "deploy" job in .gitea/workflows/ci.yml that runs on push
to main (after PR is merged). Builds production bundle and rsyncs
it to /var/www/rublox-player/build/ on both production servers
(S1 VM 124 via NAT 1998, S2 VM 124 directly via runner network).

Uses Gitea Secrets:
  - DEPLOY_SSH_KEY: dedicated ed25519 key for CI, pubkey already
    on ~min/.ssh/authorized_keys on both VM 124
  - KNOWN_HOSTS: host-keys of both targets to prevent MITM

Also updates CONTRIBUTING.md:
  - Maintainer workflow section explaining why even Lead works via PR
  - Hotfix flow (always via PR, never direct push to main)
  - DevPanel as fallback if CI deploy is broken
ci: re-trigger checks
Some checks failed
CI / Lint (pull_request) Failing after 44s
CI / Build (pull_request) Successful in 1m36s
CI / Secret scan (pull_request) Successful in 2m26s
CI / PR size check (pull_request) Successful in 6s
CI / Deploy to S1 + S2 (pull_request) Has been skipped
210d26a3f8
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
a4e34efb76
Deploy зависит от lint через needs:, поэтому при failure
lint (исторический долг empty-блоков) deploy не запускается ВООБЩЕ
(висит pending бесконечно).

Lint опциональный — не в branch protection required-checks.
Deploy должен зависеть только от Build + Secret-scan.
min merged commit 90f5a53ad4 into main 2026-05-29 04:26:57 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rublox/player#5
No description provided.