ci: исключить wiki/ и kubikon-assets/ из rsync deploy (#7)
Some checks failed
CI / PR size check (push) Has been skipped
CI / Lint (push) Failing after 6s
CI / Build (push) Successful in 2m1s
CI / Secret scan (push) Successful in 2m32s
CI / Deploy to S1 + S2 (push) Failing after 1m45s

Co-authored-by: МИН <maksimivankov26@yandex.ru>
Co-committed-by: МИН <maksimivankov26@yandex.ru>
This commit is contained in:
МИН 2026-05-29 05:45:01 +00:00 committed by min
parent 3ec6bd18be
commit a3455710c0

View File

@ -134,12 +134,12 @@ jobs:
run: apt-get update -qq && apt-get install -y rsync openssh-client run: apt-get update -qq && apt-get install -y rsync openssh-client
- name: Deploy to S1 (85.175.7.40:1998) - name: Deploy to S1 (85.175.7.40:1998)
run: | run: |
rsync -az --delete-after --human-readable \ rsync -az --delete-after --human-readable --exclude=wiki --exclude=kubikon-assets \
-e "ssh -i ~/.ssh/id_deploy -o UserKnownHostsFile=~/.ssh/known_hosts -p 1998" \ -e "ssh -i ~/.ssh/id_deploy -o UserKnownHostsFile=~/.ssh/known_hosts -p 1998" \
build/ min@85.175.7.40:/var/www/rublox-player/build/ build/ min@85.175.7.40:/var/www/rublox-player/build/
- name: Deploy to S2 (192.168.0.124:22, runner в той же сети) - name: Deploy to S2 (192.168.0.124:22, runner в той же сети)
run: | run: |
rsync -az --delete-after --human-readable \ rsync -az --delete-after --human-readable --exclude=wiki --exclude=kubikon-assets \
-e "ssh -i ~/.ssh/id_deploy -o UserKnownHostsFile=~/.ssh/known_hosts -p 22" \ -e "ssh -i ~/.ssh/id_deploy -o UserKnownHostsFile=~/.ssh/known_hosts -p 22" \
build/ min@192.168.0.124:/var/www/rublox-player/build/ build/ min@192.168.0.124:/var/www/rublox-player/build/
- name: Verify deploy - name: Verify deploy