fix preprod CI

This commit is contained in:
isUnknown 2025-09-10 14:32:35 +02:00
parent 9a86d41254
commit 351882e4ff

View file

@ -27,7 +27,7 @@ deploy:
stage: deploy stage: deploy
image: node:latest image: node:latest
only: only:
- main - preprod
before_script: before_script:
- apt-get update -qq && apt-get install -y rsync sshpass - apt-get update -qq && apt-get install -y rsync sshpass
script: script:
@ -44,7 +44,7 @@ deploy:
eval $cmd eval $cmd
} }
rsync_deploy site/ "$PROD_PATH/site/" "--exclude 'accounts/' --exclude 'cache/' --exclude 'sessions/'" rsync_deploy site/ "$PREPROD_PATH/site/" "--exclude 'accounts/' --exclude 'cache/' --exclude 'sessions/'"
rsync_deploy vendor/ "$PROD_PATH/vendor/" rsync_deploy vendor/ "$PREPROD_PATH/vendor/"
rsync_deploy kirby/ "$PROD_PATH/kirby/" rsync_deploy kirby/ "$PREPROD_PATH/kirby/"
rsync_deploy assets/ "$PROD_PATH/assets/" "--exclude 'tiles/'" rsync_deploy assets/ "$PREPROD_PATH/assets/" "--exclude 'tiles/'"