From 04bb42b251ce4db11f1713ab48a2f628107c5e12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rolf=20H=C3=A5vard=20Blindheim?= Date: Fri, 20 Sep 2024 09:41:37 +0200 Subject: [PATCH] add: debug container --- .github/workflows/elixir.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/elixir.yaml b/.github/workflows/elixir.yaml index 9e5fe02..fef5eb6 100644 --- a/.github/workflows/elixir.yaml +++ b/.github/workflows/elixir.yaml @@ -41,11 +41,14 @@ jobs: - name: Check out this repository uses: actions/checkout@v4 + - name: Copy Mosquitto config + run: docker cp ${{ github.workspace }}/.mosquitto/* mqtt:/mosquitto/config + # Ensure to restart MQTT after checkout to correctly bind the config volume - # - name: Restart MQTT - # uses: docker://docker - # with: - # args: docker restart mqtt + - name: Restart MQTT + uses: docker://docker + with: + args: docker restart mqtt - run: docker inspect mqtt