Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
adnan
EasyParking
Commits
5560c225
Commit
5560c225
authored
Mar 10, 2020
by
Oky Rahmanto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
84868cac
Pipeline
#22730
canceled with stages
in 8 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
.gitlab-ci.yml
.gitlab-ci.yml
+4
-3
No files found.
.gitlab-ci.yml
View file @
5560c225
...
...
@@ -37,9 +37,10 @@ deploy:
-
ci-cd
stage
:
deploy
script
:
-
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
release
:
tags
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment