Newsbot.Portal/.drone.yml
James Tombleson 085747e9bb
All checks were successful
continuous-integration/drone/pr Build is passing
pulled ci changes from api
2023-06-15 21:59:41 -07:00

37 lines
571 B
YAML

---
kind: pipeline
type: docker
name: build
steps:
- name: build image
image: plugins/docker
environment:
PAT:
from_secret: DockerPushPat
settings:
username: jtom38
password: $PAT
repo: jtom38/newsbot-portal
trigger:
branch:
include:
- master
event:
exclude:
- pull_request
---
kind: pipeline
type: docker
name: compile
steps:
- name: Compile project
image: mcr.microsoft.com/dotnet/sdk:7.0.103
commands:
- dotnet restore
- dotnet build
trigger:
event:
- pull_request