Commit 62b102f5 authored by Oky Rahmanto's avatar Oky Rahmanto

testing deployment .gitlab-ci.yml

parent 5d4a0808
Pipeline #22743 failed with stages
in 10 minutes and 14 seconds
......@@ -42,6 +42,9 @@ 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
#- 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