This commit is contained in:
philipp 2023-07-30 17:30:40 +02:00
parent f2026d8d84
commit f40d409c3d

View File

@ -55,10 +55,10 @@ deploy-main:
script:
- ssh $SSH_USER@$SSH_HOST 'sudo systemctl stop rot'
- scp target/$CARGO_TARGET/release/rot $SSH_USER@$SSH_HOST:/home/k004373/rowing
- ssh $SSH_USER@$SSH_HOST 'mkdir /home/k004373/rowing-staging/svelte/build'
- scp -r static $SSH_USER@$SSH_HOST:/home/k004373/rowing/
- scp -r templates $SSH_USER@$SSH_HOST:/home/k004373/rowing/
- scp -r svelte $SSH_USER@$SSH_HOST:/home/k004373/rowing/
- ssh $SSH_USER@$SSH_HOST 'mkdir /home/k004373/rowing-staging/svelte/build'
- ssh $SSH_USER@$SSH_HOST 'sudo systemctl start rot'
only:
- main