push
This commit is contained in:
parent
f2026d8d84
commit
f40d409c3d
@ -55,10 +55,10 @@ deploy-main:
|
|||||||
script:
|
script:
|
||||||
- ssh $SSH_USER@$SSH_HOST 'sudo systemctl stop rot'
|
- ssh $SSH_USER@$SSH_HOST 'sudo systemctl stop rot'
|
||||||
- scp target/$CARGO_TARGET/release/rot $SSH_USER@$SSH_HOST:/home/k004373/rowing
|
- 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 static $SSH_USER@$SSH_HOST:/home/k004373/rowing/
|
||||||
- scp -r templates $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/
|
- 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'
|
- ssh $SSH_USER@$SSH_HOST 'sudo systemctl start rot'
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
|
Loading…
Reference in New Issue
Block a user