push
This commit is contained in:
parent
2f954ea02e
commit
c4f070fa05
@ -39,7 +39,7 @@ deploy-staging:
|
||||
- scp -r static $SSH_USER@$SSH_HOST:/home/k004373/rowing-staging/
|
||||
- scp -r templates $SSH_USER@$SSH_HOST:/home/k004373/rowing-staging/
|
||||
- scp -r svelte $SSH_USER@$SSH_HOST:/home/k004373/rowing-staging/
|
||||
- ssh $SSH_USER@$SSH_HOST 'sudo systemctl restart rotstaging'
|
||||
- ssh $SSH_USER@$SSH_HOST 'sudo systemctl start rotstaging'
|
||||
only:
|
||||
- staging
|
||||
|
||||
@ -58,6 +58,6 @@ deploy-main:
|
||||
- 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 'sudo systemctl restart rot'
|
||||
- ssh $SSH_USER@$SSH_HOST 'sudo systemctl start rot'
|
||||
only:
|
||||
- main
|
||||
|
Loading…
Reference in New Issue
Block a user