chore(devops): env sync to server + SERVICE_ENV secret for CD (parked, not merged)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-04 17:30:42 +03:00
co-authored by Claude Opus 5.5
parent 683a74b004
commit 267fe24cbc
6 changed files with 181 additions and 1 deletions
+3
View File
@@ -37,12 +37,15 @@ jobs:
install -d -m 700 ~/.ssh
printf '%s\n' "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/deploy_key
chmod 600 ~/.ssh/deploy_key
printf '%s\n' "${{ secrets.SERVICE_ENV }}" > ~/service.env
chmod 600 ~/service.env
- name: deploy
env:
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
DEPLOY_SSH_OPTS: "-i /root/.ssh/deploy_key -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new -o ConnectTimeout=20"
run: |
export DEPLOY_SSH_OPTS="${DEPLOY_SSH_OPTS//\/root\/.ssh/$HOME/.ssh}"
export SERVICE_ENV_FILE="$HOME/service.env"
infra/deploy/deploy.sh HEAD
- name: smoke
run: |