workflow?
This commit is contained in:
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: El Tigre - MauMau Server
|
name: Build Mau & Deploy Mau
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -34,5 +34,14 @@ jobs:
|
|||||||
run: dotnet build --configuration Release --no-restore
|
run: dotnet build --configuration Release --no-restore
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test --no-restore --verbosity normal
|
run: dotnet test --no-restore --verbosity normal
|
||||||
- name: Docker Test
|
deploy:
|
||||||
run: docker run hello-world
|
runs-on: self-hosted
|
||||||
|
needs: build
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@main
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Docker Compose
|
||||||
|
run: docker compose up -d --build
|
||||||
|
|
||||||
Reference in New Issue
Block a user