Commit d4549ef0 authored by Oky Rahmanto's avatar Oky Rahmanto

Update .gitlab-ci.yml

parent 5070bb16
Pipeline #22839 canceled with stages
in 35 seconds
......@@ -42,7 +42,7 @@ deploy:
- ssh-keyscan -H $URL >> ~/.ssh/known_hosts
- dotnet publish -c Release
- sshpass -p "$PASSWORD" -v scp -r bin/Release/netcoreapp3.1/ $USER@$URL:/var/www/dotnet
- sshpass -p "$PASSWORD" ssh $USER@$URL 'service six7 stop; service six7 start;'
- sshpass -p "$PASSWORD" ssh $USER@$URL 'sudo systemctl restart six7;'
#- dotnet-sshdeploy push -f netcoreapp2.2 -t "$TARGET_PATH" -h $URL -w $PASSWORD -u $USER -p $PORT -v
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment