Files
schengen-visa/.drone.yml
prtsie 76ef88e811
All checks were successful
continuous-integration/drone/push Build is passing
Обновить .drone.yml
2025-10-29 19:46:41 +03:00

34 lines
610 B
YAML

kind: pipeline
type: docker
name: "Backend"
steps:
- name: test
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet build
- dotnet test
- name: publish
image: plugins/docker
settings:
username: prtsie
password:
from_secret: docker_pass
registry: git.prtsie.ru
repo: git.prtsie.ru/prtsie/schengen-visa
tags:
- latest-${DRONE_BRANCH}
- name: deploy
image: appleboy/drone-ssh
settings:
script_stop: true
host: prtsie.ru:1337
username: deploy
key:
from_secret: ssh_key
script:
- cd /deploy
- ./deploy.sh ${DRONE_BRANCH}