update CI
This commit is contained in:
parent
33ec908a23
commit
9056befcfd
1 changed files with 5 additions and 5 deletions
|
|
@ -27,7 +27,7 @@ deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: node:latest
|
image: node:latest
|
||||||
only:
|
only:
|
||||||
- preprod
|
- main
|
||||||
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/ "$PREPROD_PATH/site/" "--exclude 'accounts/' --exclude 'cache/' --exclude 'sessions/'"
|
rsync_deploy site/ "$PROD_PATH/site/" "--exclude 'accounts/' --exclude 'cache/' --exclude 'sessions/'"
|
||||||
rsync_deploy vendor/ "$PREPROD_PATH/vendor/"
|
rsync_deploy vendor/ "$PROD_PATH/vendor/"
|
||||||
rsync_deploy kirby/ "$PREPROD_PATH/kirby/"
|
rsync_deploy kirby/ "$PROD_PATH/kirby/"
|
||||||
rsync_deploy assets/ "$PREPROD_PATH/assets/" "--exclude 'tiles/'"
|
rsync_deploy assets/ "$PROD_PATH/assets/" "--exclude 'tiles/'"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue