This commit is contained in:
philipp 2023-07-30 17:28:50 +02:00
parent 2f954ea02e
commit c4f070fa05

View File

@ -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