diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d7fc04..8c58139 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: El Tigre - MauMau Server +name: Build Mau & Deploy Mau on: push: @@ -34,5 +34,14 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Test run: dotnet test --no-restore --verbosity normal - - name: Docker Test - run: docker run hello-world \ No newline at end of file + deploy: + 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 + \ No newline at end of file