From 375cfb6aec55b68123e5ed964c8b875a13f0465f Mon Sep 17 00:00:00 2001 From: Puechberty Arthur Date: Wed, 10 Jun 2026 22:02:00 +0200 Subject: [PATCH] add runner --- .github/workflows/deploy.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..b5e6e2f --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,19 @@ +name: Deploy Docker + +on: + push: + branches: ["main"] + +jobs: + deploy: + runs-on: self-hosted + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Build & restart containers + run: | + docker compose down || true + docker compose build + docker compose up -d \ No newline at end of file