Fix CI pipeline for shell executor — local rsync deploy

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-29 00:40:15 -05:00
co-authored by Claude Sonnet 4.6
parent 5078b13d31
commit 387f1685a4
+1 -10
View File
@@ -4,7 +4,6 @@ stages:
build: build:
stage: build stage: build
image: node:20-alpine
script: script:
- npm ci - npm ci
- npm run build - npm run build
@@ -17,16 +16,8 @@ build:
deploy: deploy:
stage: deploy stage: deploy
image: alpine:latest
before_script:
- apk add --no-cache rsync openssh-client
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script: script:
- rsync -avz --delete dist/ $DEPLOY_USER@$DEPLOY_HOST:/var/www/domains/gateway-gamers.net/kingmaker/ - rsync -avz --delete dist/ /var/www/domains/gateway-gamers.net/kingmaker/
only: only:
- main - main
environment: environment: