now let's rsync the correct folder

This commit is contained in:
ashastral 2022-12-21 14:59:39 -08:00
parent 69178a51b6
commit 91502911c1

View file

@ -24,6 +24,6 @@ deploy:
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
script:
- yarn install --cache-folder .yarn
- rsync -avuz -e 'ssh -i ~/.ssh/id_rsa' public/ $RSYNC_DESTINATION
- rsync -avuz -e 'ssh -i ~/.ssh/id_rsa' dist/ $RSYNC_DESTINATION
rules:
- if: '$CI_COMMIT_BRANCH == "main"'