Commit 5560c225 authored by Oky Rahmanto's avatar Oky Rahmanto

Update .gitlab-ci.yml

parent 84868cac
Pipeline #22730 canceled with stages
in 8 minutes and 21 seconds
......@@ -37,9 +37,10 @@ deploy:
- ci-cd
stage: deploy
- dotnet tool install -g dotnet-sshdeploy
- dotnet build
- dotnet-sshdeploy push -f netcoreapp2.2 -t "$TARGET_PATH" -h $URL -w $PASSWORD -u $USER -p $PORT -v
- apt-get install -y sshpass
- dotnet publish -c Release
- 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