Created Woodpecker CI/CD deployment
- Created Dockerfile for packing up API and Web projects as Docker image
This commit is contained in:
12
.woodpecker/.api_build.yaml
Normal file
12
.woodpecker/.api_build.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
when:
|
||||
- event: [push, pull_request, tag]
|
||||
ref: [refs/tags/APIDEV-*, refs/tags/API-*, refs/heads/api/*]
|
||||
steps:
|
||||
- name: (YABA.API) Build and run tests
|
||||
when:
|
||||
- event: [push, pull_request, tag]
|
||||
branch: [api/*]
|
||||
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||
commands:
|
||||
- dotnet build ./API
|
||||
- dotnet test ./API
|
||||
Reference in New Issue
Block a user