This commit is contained in:
philipp 2023-07-30 17:28:50 +02:00
parent 6bc94c1482
commit d334e575b4

View File

@ -39,7 +39,7 @@ deploy-staging:
- scp -r static $SSH_USER@$SSH_HOST:/home/k004373/rowing-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 templates $SSH_USER@$SSH_HOST:/home/k004373/rowing-staging/
- scp -r svelte $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: only:
- staging - staging
@ -58,6 +58,6 @@ deploy-main:
- 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 'sudo systemctl restart rot' - ssh $SSH_USER@$SSH_HOST 'sudo systemctl start rot'
only: only:
- main - main