Merge branch 'B2B'
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
Deploy Frontend / deploy (push) Has been cancelled

This commit is contained in:
2026-08-20 14:43:02 +04:00

View File

@@ -22,6 +22,9 @@ jobs:
deploy:
runs-on: ubuntu-latest
environment: production
defaults:
run:
shell: bash
steps:
- name: Checkout
@@ -90,9 +93,8 @@ jobs:
echo "RELEASE=$RELEASE" >> "$GITHUB_ENV"
SSH="ssh -i ~/.ssh/deploy_key -o BatchMode=yes"
$SSH "$USER@$HOST" "mkdir -p /srv/marketplaces/releases/$RELEASE/frontend"
rsync -az --delete \
-e "$SSH" \
"$SRC/" "$USER@$HOST:/srv/marketplaces/releases/$RELEASE/frontend/"
tar -C "$SRC" -czf - . | $SSH "$USER@$HOST" \
"tar -xzf - -C /srv/marketplaces/releases/$RELEASE/frontend"
- name: Activate release
env: