Commit c725eaa7 authored by Oky Rahmanto's avatar Oky Rahmanto

testing deployment .gitlab-ci.yml

parent 62b102f5
Pipeline #22745 passed with stages
in 2 minutes and 48 seconds
......@@ -42,9 +42,7 @@ deploy:
- ssh-keyscan -H $URL >> ~/.ssh/known_hosts
- dotnet publish -c Release
- sshpass -p "$PASSWORD" -v scp -r bin/Release/netcoreapp2.2/ $USER@$URL:/var/www/dotnet
- sshpass -p "$PASSWORD" ssh $USER@$URL
- service six7 stop
- service six7 start
- sshpass -p "$PASSWORD" ssh $USER@$URL 'service six7 stop; service six7 start;'
#- dotnet-sshdeploy push -f netcoreapp2.2 -t "$TARGET_PATH" -h $URL -w $PASSWORD -u $USER -p $PORT -v
#release:
......
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