Commit 5d4a0808 authored by Oky Rahmanto's avatar Oky Rahmanto

testing deployment .gitlab-ci.yml

parent 54034d24
Pipeline #22742 passed with stages
in 5 minutes and 38 seconds
......@@ -41,7 +41,7 @@ deploy:
- mkdir ~/.ssh
- 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" -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
#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