我正在尝试通过.net
将.gitlab-ci.yaml
应用程序部署到远程服务器,但是还没有发现有用的东西。我想使用用户名/密码和ssh
键来探索选项。请指导。这是我的工作yaml
文件,没有远程部署
image : microsoft/dotnet:latest
stages:
- build
- test
- release
build:
stage: build
script:
- dotnet build
test:
stage: test
script:
- dotnet test
release:
stage: release
only:
- master
artifacts:
paths:
- publish/
script:
- dotnet publish -c Release -o ../publish MyApp/MyApp.csproj