Commit 54034d24 authored by Oky Rahmanto's avatar Oky Rahmanto

testing deployment .gitlab-ci.yml

parent c8dcdeef
Pipeline #22740 passed with stages
in 4 minutes and 45 seconds
......@@ -41,7 +41,7 @@ deploy:
- mkdir ~/.ssh
- ssh-keyscan -H $URL >> ~/.ssh/known_hosts
- dotnet publish -c Release
- sshpass -p 'swconstruction2020' -v scp -r /bin/Release/netcoreapp2.2/*.* $USER@$URL:/var/www/dotnet
- sshpass -p "$PASSWORD" -v scp -r bin/Release/netcoreapp2.2/*.* $USER@$URL:/var/www/dotnet
#- 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