diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1696544..8c58139 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,20 +1,18 @@ -name: Build & Test +name: Build Mau & Deploy Mau on: push: branches: - mauster - - developmaunt pull_request: branches: - mauster - - developmaunt workflow_dispatch: concurrency: group: mau cancel-in-progress: true - + env: DOTNET_INSTALL_DIR: "./.dotnet" @@ -35,4 +33,15 @@ jobs: - name: Build run: dotnet build --configuration Release --no-restore - name: Test - run: dotnet test --no-restore --verbosity normal \ No newline at end of file + run: dotnet test --no-restore --verbosity normal + 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