Skip to content

Commit

Permalink
chore: add CI workflow for main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
oreze committed Jul 15, 2024
1 parent 883ed5b commit 0b6fb54
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy .NET App to Local Kubespray Cluster

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'

- name: Restore dependencies
run: dotnet restore

- name: Build project
run: dotnet build --configuration Release --no-restore

- name: Test project
run: dotnet test --configuration Release --no-build

0 comments on commit 0b6fb54

Please sign in to comment.