Commit 4d189ef8 authored by Oky Rahmanto's avatar Oky Rahmanto

Update .gitlab-ci.yml

parent c32f110c
Pipeline #22701 failed with stage
......@@ -12,9 +12,10 @@ default:
- cd SIX/SIX/SIX.Web
stages:
- build
- test
- release
# - build
# - test
- deploy
# - release
build:
tags:
......@@ -31,6 +32,15 @@ test:
script:
- dotnet test
deploy:
tags:
- ci-cd
stage: deploy
script:
- dotnet tool install -g dotnet-sshdeploy -y
- dotnet build
- dotnet-sshdeploy push -f netcoreapp2.2 -t "$TARGET_PATH" -h $URL -w $PASSWORD -u $USER -p $PORT -v
release:
tags:
- ci-cd
......
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